public class ParticleSpring extends CFacade
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
ParticleSpring(long __address,
Block __block,
BlockTable __blockTable) |
protected |
ParticleSpring(ParticleSpring that) |
Modifier and Type | Method and 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'.
|
__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 ParticleSpring.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__rest_length
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});
public static final long[] __DNA__FIELD__particle_index
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});
public static final long[] __DNA__FIELD__delete_flag
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});
public ParticleSpring(long __address, Block __block, BlockTable __blockTable)
protected ParticleSpring(ParticleSpring that)
public float getRest_length() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rest_length
public void setRest_length(float rest_length) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rest_length
public CArrayFacade<java.lang.Integer> getParticle_index() throws java.io.IOException
java.io.IOException
__DNA__FIELD__particle_index
public void setParticle_index(CArrayFacade<java.lang.Integer> particle_index) throws java.io.IOException
java.io.IOException
__DNA__FIELD__particle_index
public int getDelete_flag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__delete_flag
public void setDelete_flag(int delete_flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__delete_flag
public CPointer<ParticleSpring> __io__addressof()