public class HairKey extends CFacade
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
HairKey(HairKey that) |
|
HairKey(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and 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'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for HairKey.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__co
Location of hair vertex.
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});
public static final long[] __DNA__FIELD__time
Time along hair, default 0-100.
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});
public static final long[] __DNA__FIELD__weight
Softbody weight.
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});
public static final long[] __DNA__FIELD__editflag
Saved particled edit mode flags.
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});
public static final long[] __DNA__FIELD___pad
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});
public static final long[] __DNA__FIELD__world_co
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});
public HairKey(long __address, Block __block, BlockTable __blockTable)
protected HairKey(HairKey that)
public CArrayFacade<java.lang.Float> getCo() throws java.io.IOException
Location of hair vertex.
java.io.IOException
__DNA__FIELD__co
public void setCo(CArrayFacade<java.lang.Float> co) throws java.io.IOException
Location of hair vertex.
java.io.IOException
__DNA__FIELD__co
public float getTime() throws java.io.IOException
Time along hair, default 0-100.
java.io.IOException
__DNA__FIELD__time
public void setTime(float time) throws java.io.IOException
Time along hair, default 0-100.
java.io.IOException
__DNA__FIELD__time
public float getWeight() throws java.io.IOException
Softbody weight.
java.io.IOException
__DNA__FIELD__weight
public void setWeight(float weight) throws java.io.IOException
Softbody weight.
java.io.IOException
__DNA__FIELD__weight
public short getEditflag() throws java.io.IOException
Saved particled edit mode flags.
java.io.IOException
__DNA__FIELD__editflag
public void setEditflag(short editflag) throws java.io.IOException
Saved particled edit mode flags.
java.io.IOException
__DNA__FIELD__editflag
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public CArrayFacade<java.lang.Float> getWorld_co() throws java.io.IOException
java.io.IOException
__DNA__FIELD__world_co
public void setWorld_co(CArrayFacade<java.lang.Float> world_co) throws java.io.IOException
java.io.IOException
__DNA__FIELD__world_co