Class ParticleKey
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ParticleKey
-
public class ParticleKey extends CFacade
Generated facet for DNA struct type 'ParticleKey'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 ParticleKey(long __address, Block __block, BlockTable __blockTable)
protected
ParticleKey(ParticleKey that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 ParticleKey.It is required when allocating a new block to store data for ParticleKey.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__co
public static final long[] __DNA__FIELD__co
Field descriptor (offset) for struct member 'co'.Field Documentation
Blender Source Code
when changed update size of struct to copy_particleKey()!! Location.
Pointer Arithmetics
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});
Metadata
- Field: 'co'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__vel
public static final long[] __DNA__FIELD__vel
Field descriptor (offset) for struct member 'vel'.Field Documentation
Blender Source Code
Velocity.
Pointer Arithmetics
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});
Metadata
- Field: 'vel'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__rot
public static final long[] __DNA__FIELD__rot
Field descriptor (offset) for struct member 'rot'.Field Documentation
Blender Source Code
Rotation quaternion.
Pointer Arithmetics
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});
Metadata
- Field: 'rot'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__ave
public static final long[] __DNA__FIELD__ave
Field descriptor (offset) for struct member 'ave'.Field Documentation
Blender Source Code
Angular velocity.
Pointer Arithmetics
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});
Metadata
- Field: 'ave'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__time
public static final long[] __DNA__FIELD__time
Field descriptor (offset) for struct member 'time'.Field Documentation
Blender Python API
Time of key over the simulationBlender Source Code
When this key happens.
Pointer Arithmetics
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});
Metadata
- Field: 'time'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ParticleKey
public ParticleKey(long __address, Block __block, BlockTable __blockTable)
-
ParticleKey
protected ParticleKey(ParticleKey that)
-
-
Method Detail
-
getCo
public CArrayFacade<java.lang.Float> getCo() throws java.io.IOException
Get method for struct member 'co'.Field Documentation
Blender Source Code
when changed update size of struct to copy_particleKey()!! Location.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__co
-
setCo
public void setCo(CArrayFacade<java.lang.Float> co) throws java.io.IOException
Set method for struct member 'co'.Field Documentation
Blender Source Code
when changed update size of struct to copy_particleKey()!! Location.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__co
-
getVel
public CArrayFacade<java.lang.Float> getVel() throws java.io.IOException
Get method for struct member 'vel'.Field Documentation
Blender Source Code
Velocity.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vel
-
setVel
public void setVel(CArrayFacade<java.lang.Float> vel) throws java.io.IOException
Set method for struct member 'vel'.Field Documentation
Blender Source Code
Velocity.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vel
-
getRot
public CArrayFacade<java.lang.Float> getRot() throws java.io.IOException
Get method for struct member 'rot'.Field Documentation
Blender Source Code
Rotation quaternion.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rot
-
setRot
public void setRot(CArrayFacade<java.lang.Float> rot) throws java.io.IOException
Set method for struct member 'rot'.Field Documentation
Blender Source Code
Rotation quaternion.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rot
-
getAve
public CArrayFacade<java.lang.Float> getAve() throws java.io.IOException
Get method for struct member 'ave'.Field Documentation
Blender Source Code
Angular velocity.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ave
-
setAve
public void setAve(CArrayFacade<java.lang.Float> ave) throws java.io.IOException
Set method for struct member 'ave'.Field Documentation
Blender Source Code
Angular velocity.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ave
-
getTime
public float getTime() throws java.io.IOException
Get method for struct member 'time'.Field Documentation
Blender Python API
Time of key over the simulationBlender Source Code
When this key happens.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__time
-
setTime
public void setTime(float time) throws java.io.IOException
Set method for struct member 'time'.Field Documentation
Blender Python API
Time of key over the simulationBlender Source Code
When this key happens.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__time
-
__io__addressof
public CPointer<ParticleKey> __io__addressof()
Instantiates a pointer on this instance.
-
-