Package org.blender.dna
Class NodeSunBeams
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.NodeSunBeams
-
public class NodeSunBeams extends CFacade
Generated facet for DNA struct type 'NodeSunBeams'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__ray_length
Field descriptor (offset) for struct member 'ray_length'.static long[]
__DNA__FIELD__source
Field descriptor (offset) for struct member 'source'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct NodeSunBeams.-
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 NodeSunBeams(long __address, Block __block, BlockTable __blockTable)
protected
NodeSunBeams(NodeSunBeams that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<NodeSunBeams>
__io__addressof()
Instantiates a pointer on this instance.float
getRay_length()
Get method for struct member 'ray_length'.CArrayFacade<java.lang.Float>
getSource()
Get method for struct member 'source'.void
setRay_length(float ray_length)
Set method for struct member 'ray_length'.void
setSource(CArrayFacade<java.lang.Float> source)
Set method for struct member 'source'.-
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 NodeSunBeams.It is required when allocating a new block to store data for NodeSunBeams.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__source
public static final long[] __DNA__FIELD__source
Field descriptor (offset) for struct member 'source'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeSunBeams nodesunbeams = ...; CPointer<Object> p = nodesunbeams.__dna__addressof(NodeSunBeams.__DNA__FIELD__source); CPointer<CArrayFacade<Float>> p_source = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'source'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__ray_length
public static final long[] __DNA__FIELD__ray_length
Field descriptor (offset) for struct member 'ray_length'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeSunBeams nodesunbeams = ...; CPointer<Object> p = nodesunbeams.__dna__addressof(NodeSunBeams.__DNA__FIELD__ray_length); CPointer<Float> p_ray_length = p.cast(new Class[]{Float.class});
Metadata
- Field: 'ray_length'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
NodeSunBeams
public NodeSunBeams(long __address, Block __block, BlockTable __blockTable)
-
NodeSunBeams
protected NodeSunBeams(NodeSunBeams that)
-
-
Method Detail
-
getSource
public CArrayFacade<java.lang.Float> getSource() throws java.io.IOException
Get method for struct member 'source'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__source
-
setSource
public void setSource(CArrayFacade<java.lang.Float> source) throws java.io.IOException
Set method for struct member 'source'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__source
-
getRay_length
public float getRay_length() throws java.io.IOException
Get method for struct member 'ray_length'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ray_length
-
setRay_length
public void setRay_length(float ray_length) throws java.io.IOException
Set method for struct member 'ray_length'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ray_length
-
__io__addressof
public CPointer<NodeSunBeams> __io__addressof()
Instantiates a pointer on this instance.
-
-