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