public class bSameVolumeConstraint extends CFacade
Maintain Volume Constraint
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__volume
Field descriptor (offset) for struct member 'volume'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bSameVolumeConstraint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bSameVolumeConstraint(bSameVolumeConstraint that) |
|
bSameVolumeConstraint(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bSameVolumeConstraint> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getFlag()
Get method for struct member 'flag'.
|
float |
getVolume()
Get method for struct member 'volume'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setVolume(float volume)
Set method for struct member 'volume'.
|
__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 bSameVolumeConstraint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
bSameVolumeConstraint bsamevolumeconstraint = ...; CPointer<Object> p = bsamevolumeconstraint.__dna__addressof(bSameVolumeConstraint.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__volume
This is how you get a reference on the corresponding field in the struct:
bSameVolumeConstraint bsamevolumeconstraint = ...; CPointer<Object> p = bsamevolumeconstraint.__dna__addressof(bSameVolumeConstraint.__DNA__FIELD__volume); CPointer<Float> p_volume = p.cast(new Class[]{Float.class});
public bSameVolumeConstraint(long __address, Block __block, BlockTable __blockTable)
protected bSameVolumeConstraint(bSameVolumeConstraint that)
public int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public float getVolume() throws java.io.IOException
java.io.IOException
__DNA__FIELD__volume
public void setVolume(float volume) throws java.io.IOException
java.io.IOException
__DNA__FIELD__volume
public CPointer<bSameVolumeConstraint> __io__addressof()