Package org.blender.dna
Class ObjectLineArt
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ObjectLineArt
-
public class ObjectLineArt extends CFacade
Generated facet for DNA struct type 'ObjectLineArt'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__crease_threshold
Field descriptor (offset) for struct member 'crease_threshold'.static long[]
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.static long[]
__DNA__FIELD__usage
Field descriptor (offset) for struct member 'usage'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ObjectLineArt.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description ObjectLineArt(long __address, Block __block, BlockTable __blockTable)
protected
ObjectLineArt(ObjectLineArt that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ObjectLineArt>
__io__addressof()
Instantiates a pointer on this instance.float
getCrease_threshold()
Get method for struct member 'crease_threshold'.short
getFlags()
Get method for struct member 'flags'.short
getUsage()
Get method for struct member 'usage'.void
setCrease_threshold(float crease_threshold)
Set method for struct member 'crease_threshold'.void
setFlags(short flags)
Set method for struct member 'flags'.void
setUsage(short usage)
Set method for struct member 'usage'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct ObjectLineArt.It is required when allocating a new block to store data for ObjectLineArt.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__usage
public static final long[] __DNA__FIELD__usage
Field descriptor (offset) for struct member 'usage'.Field Documentation
Blender Python API
How to use this object in line art calculationPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObjectLineArt objectlineart = ...; CPointer<Object> p = objectlineart.__dna__addressof(ObjectLineArt.__DNA__FIELD__usage); CPointer<Short> p_usage = p.cast(new Class[]{Short.class});
Metadata
- Field: 'usage'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__flags
public static final long[] __DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObjectLineArt objectlineart = ...; CPointer<Object> p = objectlineart.__dna__addressof(ObjectLineArt.__DNA__FIELD__flags); CPointer<Short> p_flags = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flags'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__crease_threshold
public static final long[] __DNA__FIELD__crease_threshold
Field descriptor (offset) for struct member 'crease_threshold'.Field Documentation
Blender Python API
Angles smaller than this will be treated as creasesBlender Source Code
if OBJECT_LRT_OWN_CREASE is set
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObjectLineArt objectlineart = ...; CPointer<Object> p = objectlineart.__dna__addressof(ObjectLineArt.__DNA__FIELD__crease_threshold); CPointer<Float> p_crease_threshold = p.cast(new Class[]{Float.class});
Metadata
- Field: 'crease_threshold'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ObjectLineArt
public ObjectLineArt(long __address, Block __block, BlockTable __blockTable)
-
ObjectLineArt
protected ObjectLineArt(ObjectLineArt that)
-
-
Method Detail
-
getUsage
public short getUsage() throws java.io.IOException
Get method for struct member 'usage'.Field Documentation
Blender Python API
How to use this object in line art calculation- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__usage
-
setUsage
public void setUsage(short usage) throws java.io.IOException
Set method for struct member 'usage'.Field Documentation
Blender Python API
How to use this object in line art calculation- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__usage
-
getFlags
public short getFlags() throws java.io.IOException
Get method for struct member 'flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
setFlags
public void setFlags(short flags) throws java.io.IOException
Set method for struct member 'flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
getCrease_threshold
public float getCrease_threshold() throws java.io.IOException
Get method for struct member 'crease_threshold'.Field Documentation
Blender Python API
Angles smaller than this will be treated as creasesBlender Source Code
if OBJECT_LRT_OWN_CREASE is set
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__crease_threshold
-
setCrease_threshold
public void setCrease_threshold(float crease_threshold) throws java.io.IOException
Set method for struct member 'crease_threshold'.Field Documentation
Blender Python API
Angles smaller than this will be treated as creasesBlender Source Code
if OBJECT_LRT_OWN_CREASE is set
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__crease_threshold
-
__io__addressof
public CPointer<ObjectLineArt> __io__addressof()
Instantiates a pointer on this instance.
-
-