Package org.blender.dna
Class PhysicsSettings
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.PhysicsSettings
-
public class PhysicsSettings extends CFacade
Generated facet for DNA struct type 'PhysicsSettings'.Class Documentation
Blender Source Code
Global/Common Physics Settings
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 PhysicsSettings(long __address, Block __block, BlockTable __blockTable)
protected
PhysicsSettings(PhysicsSettings that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 PhysicsSettings.It is required when allocating a new block to store data for PhysicsSettings.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__gravity
public static final long[] __DNA__FIELD__gravity
Field descriptor (offset) for struct member 'gravity'.Pointer Arithmetics
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});
Metadata
- Field: 'gravity'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__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:
PhysicsSettings physicssettings = ...; CPointer<Object> p = physicssettings.__dna__addressof(PhysicsSettings.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__quick_cache_step
public static final long[] __DNA__FIELD__quick_cache_step
Field descriptor (offset) for struct member 'quick_cache_step'.Pointer Arithmetics
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});
Metadata
- Field: 'quick_cache_step'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__rt
public static final long[] __DNA__FIELD__rt
Field descriptor (offset) for struct member 'rt'.Pointer Arithmetics
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});
Metadata
- Field: 'rt'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
PhysicsSettings
public PhysicsSettings(long __address, Block __block, BlockTable __blockTable)
-
PhysicsSettings
protected PhysicsSettings(PhysicsSettings that)
-
-
Method Detail
-
getGravity
public CArrayFacade<java.lang.Float> getGravity() throws java.io.IOException
Get method for struct member 'gravity'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gravity
-
setGravity
public void setGravity(CArrayFacade<java.lang.Float> gravity) throws java.io.IOException
Set method for struct member 'gravity'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gravity
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getQuick_cache_step
public int getQuick_cache_step() throws java.io.IOException
Get method for struct member 'quick_cache_step'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__quick_cache_step
-
setQuick_cache_step
public void setQuick_cache_step(int quick_cache_step) throws java.io.IOException
Set method for struct member 'quick_cache_step'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__quick_cache_step
-
getRt
public int getRt() throws java.io.IOException
Get method for struct member 'rt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rt
-
setRt
public void setRt(int rt) throws java.io.IOException
Set method for struct member 'rt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rt
-
__io__addressof
public CPointer<PhysicsSettings> __io__addressof()
Instantiates a pointer on this instance.
-
-