Class HairKey
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.HairKey
-
public class HairKey extends CFacade
Generated facet for DNA struct type 'HairKey'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__co
Field descriptor (offset) for struct member 'co'.static long[]
__DNA__FIELD__editflag
Field descriptor (offset) for struct member 'editflag'.static long[]
__DNA__FIELD__time
Field descriptor (offset) for struct member 'time'.static long[]
__DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.static long[]
__DNA__FIELD__world_co
Field descriptor (offset) for struct member 'world_co'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct HairKey.-
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 HairKey(long __address, Block __block, BlockTable __blockTable)
protected
HairKey(HairKey that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<HairKey>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Float>
getCo()
Get method for struct member 'co'.short
getEditflag()
Get method for struct member 'editflag'.float
getTime()
Get method for struct member 'time'.float
getWeight()
Get method for struct member 'weight'.CArrayFacade<java.lang.Float>
getWorld_co()
Get method for struct member 'world_co'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setCo(CArrayFacade<java.lang.Float> co)
Set method for struct member 'co'.void
setEditflag(short editflag)
Set method for struct member 'editflag'.void
setTime(float time)
Set method for struct member 'time'.void
setWeight(float weight)
Set method for struct member 'weight'.void
setWorld_co(CArrayFacade<java.lang.Float> world_co)
Set method for struct member 'world_co'.-
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 HairKey.It is required when allocating a new block to store data for HairKey.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__co
public static final long[] __DNA__FIELD__co
Field descriptor (offset) for struct member 'co'.Field Documentation
Blender Source Code
Location of hair vertex.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
HairKey hairkey = ...; CPointer<Object> p = hairkey.__dna__addressof(HairKey.__DNA__FIELD__co); CPointer<CArrayFacade<Float>> p_co = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'co'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__time
public static final long[] __DNA__FIELD__time
Field descriptor (offset) for struct member 'time'.Field Documentation
Blender Source Code
Time along hair, default 0-100.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
HairKey hairkey = ...; CPointer<Object> p = hairkey.__dna__addressof(HairKey.__DNA__FIELD__time); CPointer<Float> p_time = p.cast(new Class[]{Float.class});
Metadata
- Field: 'time'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__weight
public static final long[] __DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.Field Documentation
Blender Source Code
Softbody weight.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
HairKey hairkey = ...; CPointer<Object> p = hairkey.__dna__addressof(HairKey.__DNA__FIELD__weight); CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
Metadata
- Field: 'weight'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__editflag
public static final long[] __DNA__FIELD__editflag
Field descriptor (offset) for struct member 'editflag'.Field Documentation
Blender Source Code
Saved particled edit mode flags.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
HairKey hairkey = ...; CPointer<Object> p = hairkey.__dna__addressof(HairKey.__DNA__FIELD__editflag); CPointer<Short> p_editflag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'editflag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
HairKey hairkey = ...; CPointer<Object> p = hairkey.__dna__addressof(HairKey.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[2]'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__world_co
public static final long[] __DNA__FIELD__world_co
Field descriptor (offset) for struct member 'world_co'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
HairKey hairkey = ...; CPointer<Object> p = hairkey.__dna__addressof(HairKey.__DNA__FIELD__world_co); CPointer<CArrayFacade<Float>> p_world_co = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'world_co'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
-
Constructor Detail
-
HairKey
public HairKey(long __address, Block __block, BlockTable __blockTable)
-
HairKey
protected HairKey(HairKey that)
-
-
Method Detail
-
getCo
public CArrayFacade<java.lang.Float> getCo() throws java.io.IOException
Get method for struct member 'co'.Field Documentation
Blender Source Code
Location of hair vertex.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__co
-
setCo
public void setCo(CArrayFacade<java.lang.Float> co) throws java.io.IOException
Set method for struct member 'co'.Field Documentation
Blender Source Code
Location of hair vertex.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__co
-
getTime
public float getTime() throws java.io.IOException
Get method for struct member 'time'.Field Documentation
Blender Source Code
Time along hair, default 0-100.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__time
-
setTime
public void setTime(float time) throws java.io.IOException
Set method for struct member 'time'.Field Documentation
Blender Source Code
Time along hair, default 0-100.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__time
-
getWeight
public float getWeight() throws java.io.IOException
Get method for struct member 'weight'.Field Documentation
Blender Source Code
Softbody weight.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
setWeight
public void setWeight(float weight) throws java.io.IOException
Set method for struct member 'weight'.Field Documentation
Blender Source Code
Softbody weight.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
getEditflag
public short getEditflag() throws java.io.IOException
Get method for struct member 'editflag'.Field Documentation
Blender Source Code
Saved particled edit mode flags.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__editflag
-
setEditflag
public void setEditflag(short editflag) throws java.io.IOException
Set method for struct member 'editflag'.Field Documentation
Blender Source Code
Saved particled edit mode flags.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__editflag
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
getWorld_co
public CArrayFacade<java.lang.Float> getWorld_co() throws java.io.IOException
Get method for struct member 'world_co'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__world_co
-
setWorld_co
public void setWorld_co(CArrayFacade<java.lang.Float> world_co) throws java.io.IOException
Set method for struct member 'world_co'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__world_co
-
-