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