public class EffectorWeights extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__global_gravity
Field descriptor (offset) for struct member 'global_gravity'.
|
static long[] |
__DNA__FIELD__group
Field descriptor (offset) for struct member 'group'.
|
static long[] |
__DNA__FIELD__rt
Field descriptor (offset) for struct member 'rt'.
|
static long[] |
__DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct EffectorWeights.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
EffectorWeights(EffectorWeights that) |
|
EffectorWeights(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<EffectorWeights> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
float |
getGlobal_gravity()
Get method for struct member 'global_gravity'.
|
CPointer<Collection> |
getGroup()
Get method for struct member 'group'.
|
CArrayFacade<java.lang.Short> |
getRt()
Get method for struct member 'rt'.
|
CArrayFacade<java.lang.Float> |
getWeight()
Get method for struct member 'weight'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setGlobal_gravity(float global_gravity)
Set method for struct member 'global_gravity'.
|
void |
setGroup(CPointer<Collection> group)
Set method for struct member 'group'.
|
void |
setRt(CArrayFacade<java.lang.Short> rt)
Set method for struct member 'rt'.
|
void |
setWeight(CArrayFacade<java.lang.Float> weight)
Set method for struct member 'weight'.
|
__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 EffectorWeights.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__group
Only use effectors from this group of objects.
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__group); CPointer<CPointer<Collection>> p_group = p.cast(new Class[]{CPointer.class, Collection.class});
public static final long[] __DNA__FIELD__weight
Effector type specific weights.
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__weight); CPointer<CArrayFacade<Float>> p_weight = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__global_gravity
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__global_gravity); CPointer<Float> p_global_gravity = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__rt
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD__rt); CPointer<CArrayFacade<Short>> p_rt = p.cast(new Class[]{CArrayFacade.class, Short.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
EffectorWeights effectorweights = ...; CPointer<Object> p = effectorweights.__dna__addressof(EffectorWeights.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public EffectorWeights(long __address, Block __block, BlockTable __blockTable)
protected EffectorWeights(EffectorWeights that)
public CPointer<Collection> getGroup() throws java.io.IOException
Only use effectors from this group of objects.
java.io.IOException
__DNA__FIELD__group
public void setGroup(CPointer<Collection> group) throws java.io.IOException
Only use effectors from this group of objects.
java.io.IOException
__DNA__FIELD__group
public CArrayFacade<java.lang.Float> getWeight() throws java.io.IOException
Effector type specific weights.
java.io.IOException
__DNA__FIELD__weight
public void setWeight(CArrayFacade<java.lang.Float> weight) throws java.io.IOException
Effector type specific weights.
java.io.IOException
__DNA__FIELD__weight
public float getGlobal_gravity() throws java.io.IOException
java.io.IOException
__DNA__FIELD__global_gravity
public void setGlobal_gravity(float global_gravity) throws java.io.IOException
java.io.IOException
__DNA__FIELD__global_gravity
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Short> getRt() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rt
public void setRt(CArrayFacade<java.lang.Short> rt) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rt
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 CPointer<EffectorWeights> __io__addressof()