Package org.blender.dna
Class ParticleSpring
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ParticleSpring
-
public class ParticleSpring extends CFacade
Generated facet for DNA struct type 'ParticleSpring'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__delete_flag
Field descriptor (offset) for struct member 'delete_flag'.static long[]
__DNA__FIELD__particle_index
Field descriptor (offset) for struct member 'particle_index'.static long[]
__DNA__FIELD__rest_length
Field descriptor (offset) for struct member 'rest_length'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ParticleSpring.-
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 ParticleSpring(long __address, Block __block, BlockTable __blockTable)
protected
ParticleSpring(ParticleSpring that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ParticleSpring>
__io__addressof()
Instantiates a pointer on this instance.int
getDelete_flag()
Get method for struct member 'delete_flag'.CArrayFacade<java.lang.Integer>
getParticle_index()
Get method for struct member 'particle_index'.float
getRest_length()
Get method for struct member 'rest_length'.void
setDelete_flag(int delete_flag)
Set method for struct member 'delete_flag'.void
setParticle_index(CArrayFacade<java.lang.Integer> particle_index)
Set method for struct member 'particle_index'.void
setRest_length(float rest_length)
Set method for struct member 'rest_length'.-
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 ParticleSpring.It is required when allocating a new block to store data for ParticleSpring.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__rest_length
public static final long[] __DNA__FIELD__rest_length
Field descriptor (offset) for struct member 'rest_length'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSpring particlespring = ...; CPointer<Object> p = particlespring.__dna__addressof(ParticleSpring.__DNA__FIELD__rest_length); CPointer<Float> p_rest_length = p.cast(new Class[]{Float.class});
Metadata
- Field: 'rest_length'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__particle_index
public static final long[] __DNA__FIELD__particle_index
Field descriptor (offset) for struct member 'particle_index'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSpring particlespring = ...; CPointer<Object> p = particlespring.__dna__addressof(ParticleSpring.__DNA__FIELD__particle_index); CPointer<CArrayFacade<Integer>> p_particle_index = p.cast(new Class[]{CArrayFacade.class, Integer.class});
Metadata
- Field: 'particle_index'
- Signature: 'int[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__delete_flag
public static final long[] __DNA__FIELD__delete_flag
Field descriptor (offset) for struct member 'delete_flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSpring particlespring = ...; CPointer<Object> p = particlespring.__dna__addressof(ParticleSpring.__DNA__FIELD__delete_flag); CPointer<Integer> p_delete_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'delete_flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ParticleSpring
public ParticleSpring(long __address, Block __block, BlockTable __blockTable)
-
ParticleSpring
protected ParticleSpring(ParticleSpring that)
-
-
Method Detail
-
getRest_length
public float getRest_length() throws java.io.IOException
Get method for struct member 'rest_length'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rest_length
-
setRest_length
public void setRest_length(float rest_length) throws java.io.IOException
Set method for struct member 'rest_length'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rest_length
-
getParticle_index
public CArrayFacade<java.lang.Integer> getParticle_index() throws java.io.IOException
Get method for struct member 'particle_index'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__particle_index
-
setParticle_index
public void setParticle_index(CArrayFacade<java.lang.Integer> particle_index) throws java.io.IOException
Set method for struct member 'particle_index'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__particle_index
-
getDelete_flag
public int getDelete_flag() throws java.io.IOException
Get method for struct member 'delete_flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__delete_flag
-
setDelete_flag
public void setDelete_flag(int delete_flag) throws java.io.IOException
Set method for struct member 'delete_flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__delete_flag
-
__io__addressof
public CPointer<ParticleSpring> __io__addressof()
Instantiates a pointer on this instance.
-
-