public class ParticleKey extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__ave
Field descriptor (offset) for struct member 'ave'.
|
static long[] |
__DNA__FIELD__co
Field descriptor (offset) for struct member 'co'.
|
static long[] |
__DNA__FIELD__rot
Field descriptor (offset) for struct member 'rot'.
|
static long[] |
__DNA__FIELD__time
Field descriptor (offset) for struct member 'time'.
|
static long[] |
__DNA__FIELD__vel
Field descriptor (offset) for struct member 'vel'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ParticleKey.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
ParticleKey(long __address,
Block __block,
BlockTable __blockTable) |
protected |
ParticleKey(ParticleKey that) |
Modifier and Type | Method and Description |
---|---|
CPointer<ParticleKey> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Float> |
getAve()
Get method for struct member 'ave'.
|
CArrayFacade<java.lang.Float> |
getCo()
Get method for struct member 'co'.
|
CArrayFacade<java.lang.Float> |
getRot()
Get method for struct member 'rot'.
|
float |
getTime()
Get method for struct member 'time'.
|
CArrayFacade<java.lang.Float> |
getVel()
Get method for struct member 'vel'.
|
void |
setAve(CArrayFacade<java.lang.Float> ave)
Set method for struct member 'ave'.
|
void |
setCo(CArrayFacade<java.lang.Float> co)
Set method for struct member 'co'.
|
void |
setRot(CArrayFacade<java.lang.Float> rot)
Set method for struct member 'rot'.
|
void |
setTime(float time)
Set method for struct member 'time'.
|
void |
setVel(CArrayFacade<java.lang.Float> vel)
Set method for struct member 'vel'.
|
__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 ParticleKey.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__co
when changed update size of struct to copy_particleKey()!! Location.
This is how you get a reference on the corresponding field in the struct:
ParticleKey particlekey = ...; CPointer<Object> p = particlekey.__dna__addressof(ParticleKey.__DNA__FIELD__co); CPointer<CArrayFacade<Float>> p_co = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__vel
Velocity.
This is how you get a reference on the corresponding field in the struct:
ParticleKey particlekey = ...; CPointer<Object> p = particlekey.__dna__addressof(ParticleKey.__DNA__FIELD__vel); CPointer<CArrayFacade<Float>> p_vel = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__rot
Rotation quaternion.
This is how you get a reference on the corresponding field in the struct:
ParticleKey particlekey = ...; CPointer<Object> p = particlekey.__dna__addressof(ParticleKey.__DNA__FIELD__rot); CPointer<CArrayFacade<Float>> p_rot = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__ave
Angular velocity.
This is how you get a reference on the corresponding field in the struct:
ParticleKey particlekey = ...; CPointer<Object> p = particlekey.__dna__addressof(ParticleKey.__DNA__FIELD__ave); CPointer<CArrayFacade<Float>> p_ave = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__time
When this key happens.
This is how you get a reference on the corresponding field in the struct:
ParticleKey particlekey = ...; CPointer<Object> p = particlekey.__dna__addressof(ParticleKey.__DNA__FIELD__time); CPointer<Float> p_time = p.cast(new Class[]{Float.class});
public ParticleKey(long __address, Block __block, BlockTable __blockTable)
protected ParticleKey(ParticleKey that)
public CArrayFacade<java.lang.Float> getCo() throws java.io.IOException
when changed update size of struct to copy_particleKey()!! Location.
java.io.IOException
__DNA__FIELD__co
public void setCo(CArrayFacade<java.lang.Float> co) throws java.io.IOException
when changed update size of struct to copy_particleKey()!! Location.
java.io.IOException
__DNA__FIELD__co
public CArrayFacade<java.lang.Float> getVel() throws java.io.IOException
Velocity.
java.io.IOException
__DNA__FIELD__vel
public void setVel(CArrayFacade<java.lang.Float> vel) throws java.io.IOException
Velocity.
java.io.IOException
__DNA__FIELD__vel
public CArrayFacade<java.lang.Float> getRot() throws java.io.IOException
Rotation quaternion.
java.io.IOException
__DNA__FIELD__rot
public void setRot(CArrayFacade<java.lang.Float> rot) throws java.io.IOException
Rotation quaternion.
java.io.IOException
__DNA__FIELD__rot
public CArrayFacade<java.lang.Float> getAve() throws java.io.IOException
Angular velocity.
java.io.IOException
__DNA__FIELD__ave
public void setAve(CArrayFacade<java.lang.Float> ave) throws java.io.IOException
Angular velocity.
java.io.IOException
__DNA__FIELD__ave
public float getTime() throws java.io.IOException
When this key happens.
java.io.IOException
__DNA__FIELD__time
public void setTime(float time) throws java.io.IOException
When this key happens.
java.io.IOException
__DNA__FIELD__time
public CPointer<ParticleKey> __io__addressof()