public class ParticleData extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__alive
Field descriptor (offset) for struct member 'alive'.
|
static long[] |
__DNA__FIELD__boid
Field descriptor (offset) for struct member 'boid'.
|
static long[] |
__DNA__FIELD__dietime
Field descriptor (offset) for struct member 'dietime'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__foffset
Field descriptor (offset) for struct member 'foffset'.
|
static long[] |
__DNA__FIELD__fuv
Field descriptor (offset) for struct member 'fuv'.
|
static long[] |
__DNA__FIELD__hair
Field descriptor (offset) for struct member 'hair'.
|
static long[] |
__DNA__FIELD__hair_index
Field descriptor (offset) for struct member 'hair_index'.
|
static long[] |
__DNA__FIELD__keys
Field descriptor (offset) for struct member 'keys'.
|
static long[] |
__DNA__FIELD__lifetime
Field descriptor (offset) for struct member 'lifetime'.
|
static long[] |
__DNA__FIELD__num
Field descriptor (offset) for struct member 'num'.
|
static long[] |
__DNA__FIELD__num_dmcache
Field descriptor (offset) for struct member 'num_dmcache'.
|
static long[] |
__DNA__FIELD__prev_state
Field descriptor (offset) for struct member 'prev_state'.
|
static long[] |
__DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.
|
static long[] |
__DNA__FIELD__sphdensity
Field descriptor (offset) for struct member 'sphdensity'.
|
static long[] |
__DNA__FIELD__state
Field descriptor (offset) for struct member 'state'.
|
static long[] |
__DNA__FIELD__time
Field descriptor (offset) for struct member 'time'.
|
static long[] |
__DNA__FIELD__totkey
Field descriptor (offset) for struct member 'totkey'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ParticleData.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
ParticleData(long __address,
Block __block,
BlockTable __blockTable) |
protected |
ParticleData(ParticleData that) |
Modifier and Type | Method and Description |
---|---|
CPointer<ParticleData> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
short |
getAlive()
Get method for struct member 'alive'.
|
CPointer<BoidParticle> |
getBoid()
Get method for struct member 'boid'.
|
float |
getDietime()
Get method for struct member 'dietime'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
float |
getFoffset()
Get method for struct member 'foffset'.
|
CArrayFacade<java.lang.Float> |
getFuv()
Get method for struct member 'fuv'.
|
int |
getHair_index()
Get method for struct member 'hair_index'.
|
CPointer<HairKey> |
getHair()
Get method for struct member 'hair'.
|
CPointer<ParticleKey> |
getKeys()
Get method for struct member 'keys'.
|
float |
getLifetime()
Get method for struct member 'lifetime'.
|
int |
getNum_dmcache()
Get method for struct member 'num_dmcache'.
|
int |
getNum()
Get method for struct member 'num'.
|
ParticleKey |
getPrev_state()
Get method for struct member 'prev_state'.
|
float |
getSize()
Get method for struct member 'size'.
|
float |
getSphdensity()
Get method for struct member 'sphdensity'.
|
ParticleKey |
getState()
Get method for struct member 'state'.
|
float |
getTime()
Get method for struct member 'time'.
|
int |
getTotkey()
Get method for struct member 'totkey'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setAlive(short alive)
Set method for struct member 'alive'.
|
void |
setBoid(CPointer<BoidParticle> boid)
Set method for struct member 'boid'.
|
void |
setDietime(float dietime)
Set method for struct member 'dietime'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setFoffset(float foffset)
Set method for struct member 'foffset'.
|
void |
setFuv(CArrayFacade<java.lang.Float> fuv)
Set method for struct member 'fuv'.
|
void |
setHair_index(int hair_index)
Set method for struct member 'hair_index'.
|
void |
setHair(CPointer<HairKey> hair)
Set method for struct member 'hair'.
|
void |
setKeys(CPointer<ParticleKey> keys)
Set method for struct member 'keys'.
|
void |
setLifetime(float lifetime)
Set method for struct member 'lifetime'.
|
void |
setNum_dmcache(int num_dmcache)
Set method for struct member 'num_dmcache'.
|
void |
setNum(int num)
Set method for struct member 'num'.
|
void |
setPrev_state(ParticleKey prev_state)
Set method for struct member 'prev_state'.
|
void |
setSize(float size)
Set method for struct member 'size'.
|
void |
setSphdensity(float sphdensity)
Set method for struct member 'sphdensity'.
|
void |
setState(ParticleKey state)
Set method for struct member 'state'.
|
void |
setTime(float time)
Set method for struct member 'time'.
|
void |
setTotkey(int totkey)
Set method for struct member 'totkey'.
|
__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 ParticleData.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__state
Current global coordinates.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__state); CPointer<ParticleKey> p_state = p.cast(new Class[]{ParticleKey.class});
public static final long[] __DNA__FIELD__prev_state
Previous state.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__prev_state); CPointer<ParticleKey> p_prev_state = p.cast(new Class[]{ParticleKey.class});
public static final long[] __DNA__FIELD__hair
Hair
vertices.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__hair); CPointer<CPointer<HairKey>> p_hair = p.cast(new Class[]{CPointer.class, HairKey.class});
public static final long[] __DNA__FIELD__keys
Keyed keys.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__keys); CPointer<CPointer<ParticleKey>> p_keys = p.cast(new Class[]{CPointer.class, ParticleKey.class});
public static final long[] __DNA__FIELD__boid
Boids data.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__boid); CPointer<CPointer<BoidParticle>> p_boid = p.cast(new Class[]{CPointer.class, BoidParticle.class});
public static final long[] __DNA__FIELD__totkey
Amount of hair or keyed key.s
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__totkey); CPointer<Integer> p_totkey = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__time
Dietime is not necessarily time+lifetime as.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__time); CPointer<Float> p_time = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__lifetime
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__lifetime); CPointer<Float> p_lifetime = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__dietime
Particles can die unnaturally (collision).
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__dietime); CPointer<Float> p_dietime = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__num
WARNING! Those two indices, when not affected to vertices, are for !!! TESSELLATED FACES !!!, not POLYGONS!Index to vert/edge/face.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__num); CPointer<Integer> p_num = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__num_dmcache
Index to derived mesh data (face) to avoid slow lookups.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__num_dmcache); CPointer<Integer> p_num_dmcache = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__fuv
Coordinates on face/edge number "num" and depth along.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__fuv); CPointer<CArrayFacade<Float>> p_fuv = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__foffset
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__foffset); CPointer<Float> p_foffset = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__size
face normal for volume emission. Size and multiplier so that we can update size when ever.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__size); CPointer<Float> p_size = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__sphdensity
Density of sph particle.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__sphdensity); CPointer<Float> p_sphdensity = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__hair_index
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__hair_index); CPointer<Integer> p_hair_index = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__alive
The life state of a particle.
This is how you get a reference on the corresponding field in the struct:
ParticleData particledata = ...; CPointer<Object> p = particledata.__dna__addressof(ParticleData.__DNA__FIELD__alive); CPointer<Short> p_alive = p.cast(new Class[]{Short.class});
public ParticleData(long __address, Block __block, BlockTable __blockTable)
protected ParticleData(ParticleData that)
public ParticleKey getState() throws java.io.IOException
Current global coordinates.
java.io.IOException
__DNA__FIELD__state
public void setState(ParticleKey state) throws java.io.IOException
Current global coordinates.
java.io.IOException
__DNA__FIELD__state
public ParticleKey getPrev_state() throws java.io.IOException
Previous state.
java.io.IOException
__DNA__FIELD__prev_state
public void setPrev_state(ParticleKey prev_state) throws java.io.IOException
Previous state.
java.io.IOException
__DNA__FIELD__prev_state
public CPointer<HairKey> getHair() throws java.io.IOException
java.io.IOException
__DNA__FIELD__hair
public void setHair(CPointer<HairKey> hair) throws java.io.IOException
java.io.IOException
__DNA__FIELD__hair
public CPointer<ParticleKey> getKeys() throws java.io.IOException
Keyed keys.
java.io.IOException
__DNA__FIELD__keys
public void setKeys(CPointer<ParticleKey> keys) throws java.io.IOException
Keyed keys.
java.io.IOException
__DNA__FIELD__keys
public CPointer<BoidParticle> getBoid() throws java.io.IOException
Boids data.
java.io.IOException
__DNA__FIELD__boid
public void setBoid(CPointer<BoidParticle> boid) throws java.io.IOException
Boids data.
java.io.IOException
__DNA__FIELD__boid
public int getTotkey() throws java.io.IOException
Amount of hair or keyed key.s
java.io.IOException
__DNA__FIELD__totkey
public void setTotkey(int totkey) throws java.io.IOException
Amount of hair or keyed key.s
java.io.IOException
__DNA__FIELD__totkey
public float getTime() throws java.io.IOException
Dietime is not necessarily time+lifetime as.
java.io.IOException
__DNA__FIELD__time
public void setTime(float time) throws java.io.IOException
Dietime is not necessarily time+lifetime as.
java.io.IOException
__DNA__FIELD__time
public float getLifetime() throws java.io.IOException
java.io.IOException
__DNA__FIELD__lifetime
public void setLifetime(float lifetime) throws java.io.IOException
java.io.IOException
__DNA__FIELD__lifetime
public float getDietime() throws java.io.IOException
Particles can die unnaturally (collision).
java.io.IOException
__DNA__FIELD__dietime
public void setDietime(float dietime) throws java.io.IOException
Particles can die unnaturally (collision).
java.io.IOException
__DNA__FIELD__dietime
public int getNum() throws java.io.IOException
WARNING! Those two indices, when not affected to vertices, are for !!! TESSELLATED FACES !!!, not POLYGONS!Index to vert/edge/face.
java.io.IOException
__DNA__FIELD__num
public void setNum(int num) throws java.io.IOException
WARNING! Those two indices, when not affected to vertices, are for !!! TESSELLATED FACES !!!, not POLYGONS!Index to vert/edge/face.
java.io.IOException
__DNA__FIELD__num
public int getNum_dmcache() throws java.io.IOException
Index to derived mesh data (face) to avoid slow lookups.
java.io.IOException
__DNA__FIELD__num_dmcache
public void setNum_dmcache(int num_dmcache) throws java.io.IOException
Index to derived mesh data (face) to avoid slow lookups.
java.io.IOException
__DNA__FIELD__num_dmcache
public CArrayFacade<java.lang.Float> getFuv() throws java.io.IOException
Coordinates on face/edge number "num" and depth along.
java.io.IOException
__DNA__FIELD__fuv
public void setFuv(CArrayFacade<java.lang.Float> fuv) throws java.io.IOException
Coordinates on face/edge number "num" and depth along.
java.io.IOException
__DNA__FIELD__fuv
public float getFoffset() throws java.io.IOException
java.io.IOException
__DNA__FIELD__foffset
public void setFoffset(float foffset) throws java.io.IOException
java.io.IOException
__DNA__FIELD__foffset
public float getSize() throws java.io.IOException
face normal for volume emission. Size and multiplier so that we can update size when ever.
java.io.IOException
__DNA__FIELD__size
public void setSize(float size) throws java.io.IOException
face normal for volume emission. Size and multiplier so that we can update size when ever.
java.io.IOException
__DNA__FIELD__size
public float getSphdensity() throws java.io.IOException
Density of sph particle.
java.io.IOException
__DNA__FIELD__sphdensity
public void setSphdensity(float sphdensity) throws java.io.IOException
Density of sph particle.
java.io.IOException
__DNA__FIELD__sphdensity
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public int getHair_index() throws java.io.IOException
java.io.IOException
__DNA__FIELD__hair_index
public void setHair_index(int hair_index) throws java.io.IOException
java.io.IOException
__DNA__FIELD__hair_index
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public short getAlive() throws java.io.IOException
The life state of a particle.
java.io.IOException
__DNA__FIELD__alive
public void setAlive(short alive) throws java.io.IOException
The life state of a particle.
java.io.IOException
__DNA__FIELD__alive
public CPointer<ParticleData> __io__addressof()