Package org.blender.dna
Class NodeHueSat
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.NodeHueSat
-
public class NodeHueSat extends CFacade
Generated facet for DNA struct type 'NodeHueSat'.Class Documentation
Blender Source Code
NOTE: Only for do-version code.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__hue
Field descriptor (offset) for struct member 'hue'.static long[]
__DNA__FIELD__sat
Field descriptor (offset) for struct member 'sat'.static long[]
__DNA__FIELD__val
Field descriptor (offset) for struct member 'val'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct NodeHueSat.-
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 NodeHueSat(long __address, Block __block, BlockTable __blockTable)
protected
NodeHueSat(NodeHueSat that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<NodeHueSat>
__io__addressof()
Instantiates a pointer on this instance.float
getHue()
Get method for struct member 'hue'.float
getSat()
Get method for struct member 'sat'.float
getVal()
Get method for struct member 'val'.void
setHue(float hue)
Set method for struct member 'hue'.void
setSat(float sat)
Set method for struct member 'sat'.void
setVal(float val)
Set method for struct member 'val'.-
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 NodeHueSat.It is required when allocating a new block to store data for NodeHueSat.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__hue
public static final long[] __DNA__FIELD__hue
Field descriptor (offset) for struct member 'hue'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeHueSat nodehuesat = ...; CPointer<Object> p = nodehuesat.__dna__addressof(NodeHueSat.__DNA__FIELD__hue); CPointer<Float> p_hue = p.cast(new Class[]{Float.class});
Metadata
- Field: 'hue'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__sat
public static final long[] __DNA__FIELD__sat
Field descriptor (offset) for struct member 'sat'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeHueSat nodehuesat = ...; CPointer<Object> p = nodehuesat.__dna__addressof(NodeHueSat.__DNA__FIELD__sat); CPointer<Float> p_sat = p.cast(new Class[]{Float.class});
Metadata
- Field: 'sat'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__val
public static final long[] __DNA__FIELD__val
Field descriptor (offset) for struct member 'val'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeHueSat nodehuesat = ...; CPointer<Object> p = nodehuesat.__dna__addressof(NodeHueSat.__DNA__FIELD__val); CPointer<Float> p_val = p.cast(new Class[]{Float.class});
Metadata
- Field: 'val'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
NodeHueSat
public NodeHueSat(long __address, Block __block, BlockTable __blockTable)
-
NodeHueSat
protected NodeHueSat(NodeHueSat that)
-
-
Method Detail
-
getHue
public float getHue() throws java.io.IOException
Get method for struct member 'hue'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hue
-
setHue
public void setHue(float hue) throws java.io.IOException
Set method for struct member 'hue'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hue
-
getSat
public float getSat() throws java.io.IOException
Get method for struct member 'sat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sat
-
setSat
public void setSat(float sat) throws java.io.IOException
Set method for struct member 'sat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sat
-
getVal
public float getVal() throws java.io.IOException
Get method for struct member 'val'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__val
-
setVal
public void setVal(float val) throws java.io.IOException
Set method for struct member 'val'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__val
-
__io__addressof
public CPointer<NodeHueSat> __io__addressof()
Instantiates a pointer on this instance.
-
-