public class PhysicsSettings extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__gravity
Field descriptor (offset) for struct member 'gravity'.
|
static long[] |
__DNA__FIELD__quick_cache_step
Field descriptor (offset) for struct member 'quick_cache_step'.
|
static long[] |
__DNA__FIELD__rt
Field descriptor (offset) for struct member 'rt'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct PhysicsSettings.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
PhysicsSettings(long __address,
Block __block,
BlockTable __blockTable) |
protected |
PhysicsSettings(PhysicsSettings that) |
Modifier and Type | Method and Description |
---|---|
CPointer<PhysicsSettings> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Float> |
getGravity()
Get method for struct member 'gravity'.
|
int |
getQuick_cache_step()
Get method for struct member 'quick_cache_step'.
|
int |
getRt()
Get method for struct member 'rt'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setGravity(CArrayFacade<java.lang.Float> gravity)
Set method for struct member 'gravity'.
|
void |
setQuick_cache_step(int quick_cache_step)
Set method for struct member 'quick_cache_step'.
|
void |
setRt(int rt)
Set method for struct member 'rt'.
|
__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 PhysicsSettings.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__gravity
This is how you get a reference on the corresponding field in the struct:
PhysicsSettings physicssettings = ...; CPointer<Object> p = physicssettings.__dna__addressof(PhysicsSettings.__DNA__FIELD__gravity); CPointer<CArrayFacade<Float>> p_gravity = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
PhysicsSettings physicssettings = ...; CPointer<Object> p = physicssettings.__dna__addressof(PhysicsSettings.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__quick_cache_step
This is how you get a reference on the corresponding field in the struct:
PhysicsSettings physicssettings = ...; CPointer<Object> p = physicssettings.__dna__addressof(PhysicsSettings.__DNA__FIELD__quick_cache_step); CPointer<Integer> p_quick_cache_step = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__rt
This is how you get a reference on the corresponding field in the struct:
PhysicsSettings physicssettings = ...; CPointer<Object> p = physicssettings.__dna__addressof(PhysicsSettings.__DNA__FIELD__rt); CPointer<Integer> p_rt = p.cast(new Class[]{Integer.class});
public PhysicsSettings(long __address, Block __block, BlockTable __blockTable)
protected PhysicsSettings(PhysicsSettings that)
public CArrayFacade<java.lang.Float> getGravity() throws java.io.IOException
java.io.IOException
__DNA__FIELD__gravity
public void setGravity(CArrayFacade<java.lang.Float> gravity) throws java.io.IOException
java.io.IOException
__DNA__FIELD__gravity
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 int getQuick_cache_step() throws java.io.IOException
java.io.IOException
__DNA__FIELD__quick_cache_step
public void setQuick_cache_step(int quick_cache_step) throws java.io.IOException
java.io.IOException
__DNA__FIELD__quick_cache_step
public int getRt() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rt
public void setRt(int rt) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rt
public CPointer<PhysicsSettings> __io__addressof()