Package org.blender.dna
Class bSameVolumeConstraint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bSameVolumeConstraint
-
-
Field Summary
Fields Modifier and Type Field 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__mode
Field descriptor (offset) for struct member 'mode'.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.-
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 bSameVolumeConstraint(long __address, Block __block, BlockTable __blockTable)
protected
bSameVolumeConstraint(bSameVolumeConstraint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<bSameVolumeConstraint>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.byte
getFlag()
Get method for struct member 'flag'.byte
getMode()
Get method for struct member 'mode'.float
getVolume()
Get method for struct member 'volume'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setMode(byte mode)
Set method for struct member 'mode'.void
setVolume(float volume)
Set method for struct member 'volume'.-
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 bSameVolumeConstraint.It is required when allocating a new block to store data for bSameVolumeConstraint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
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<Byte> p_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Pointer Arithmetics
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__mode); CPointer<Byte> p_mode = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'mode'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__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:
bSameVolumeConstraint bsamevolumeconstraint = ...; CPointer<Object> p = bsamevolumeconstraint.__dna__addressof(bSameVolumeConstraint.__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__volume
public static final long[] __DNA__FIELD__volume
Field descriptor (offset) for struct member 'volume'.Pointer Arithmetics
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});
Metadata
- Field: 'volume'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
bSameVolumeConstraint
public bSameVolumeConstraint(long __address, Block __block, BlockTable __blockTable)
-
bSameVolumeConstraint
protected bSameVolumeConstraint(bSameVolumeConstraint that)
-
-
Method Detail
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(byte flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getMode
public byte getMode() throws java.io.IOException
Get method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
setMode
public void setMode(byte mode) throws java.io.IOException
Set method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
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
-
getVolume
public float getVolume() throws java.io.IOException
Get method for struct member 'volume'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__volume
-
setVolume
public void setVolume(float volume) throws java.io.IOException
Set method for struct member 'volume'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__volume
-
__io__addressof
public CPointer<bSameVolumeConstraint> __io__addressof()
Instantiates a pointer on this instance.
-
-