public class ChildParticle extends CFacade
Child particles are created around or between parent particles
Modifier and Type | Field and Description |
---|---|
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__num
Field descriptor (offset) for struct member 'num'.
|
static long[] |
__DNA__FIELD__pa
Field descriptor (offset) for struct member 'pa'.
|
static long[] |
__DNA__FIELD__parent
Field descriptor (offset) for struct member 'parent'.
|
static long[] |
__DNA__FIELD__rt
Field descriptor (offset) for struct member 'rt'.
|
static long[] |
__DNA__FIELD__w
Field descriptor (offset) for struct member 'w'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ChildParticle.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
ChildParticle(ChildParticle that) |
|
ChildParticle(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<ChildParticle> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getFoffset()
Get method for struct member 'foffset'.
|
CArrayFacade<java.lang.Float> |
getFuv()
Get method for struct member 'fuv'.
|
int |
getNum()
Get method for struct member 'num'.
|
CArrayFacade<java.lang.Integer> |
getPa()
Get method for struct member 'pa'.
|
int |
getParent()
Get method for struct member 'parent'.
|
float |
getRt()
Get method for struct member 'rt'.
|
CArrayFacade<java.lang.Float> |
getW()
Get method for struct member 'w'.
|
void |
setFoffset(float foffset)
Set method for struct member 'foffset'.
|
void |
setFuv(CArrayFacade<java.lang.Float> fuv)
Set method for struct member 'fuv'.
|
void |
setNum(int num)
Set method for struct member 'num'.
|
void |
setPa(CArrayFacade<java.lang.Integer> pa)
Set method for struct member 'pa'.
|
void |
setParent(int parent)
Set method for struct member 'parent'.
|
void |
setRt(float rt)
Set method for struct member 'rt'.
|
void |
setW(CArrayFacade<java.lang.Float> w)
Set method for struct member 'w'.
|
__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 ChildParticle.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__num
This is how you get a reference on the corresponding field in the struct:
ChildParticle childparticle = ...; CPointer<Object> p = childparticle.__dna__addressof(ChildParticle.__DNA__FIELD__num); CPointer<Integer> p_num = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__parent
num is face index on the final derived mesh
This is how you get a reference on the corresponding field in the struct:
ChildParticle childparticle = ...; CPointer<Object> p = childparticle.__dna__addressof(ChildParticle.__DNA__FIELD__parent); CPointer<Integer> p_parent = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__pa
nearest particles to the child, used for the interpolation
This is how you get a reference on the corresponding field in the struct:
ChildParticle childparticle = ...; CPointer<Object> p = childparticle.__dna__addressof(ChildParticle.__DNA__FIELD__pa); CPointer<CArrayFacade<Integer>> p_pa = p.cast(new Class[]{CArrayFacade.class, Integer.class});
public static final long[] __DNA__FIELD__w
interpolation weights for the above particles
This is how you get a reference on the corresponding field in the struct:
ChildParticle childparticle = ...; CPointer<Object> p = childparticle.__dna__addressof(ChildParticle.__DNA__FIELD__w); CPointer<CArrayFacade<Float>> p_w = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__fuv
This is how you get a reference on the corresponding field in the struct:
ChildParticle childparticle = ...; CPointer<Object> p = childparticle.__dna__addressof(ChildParticle.__DNA__FIELD__fuv); CPointer<CArrayFacade<Float>> p_fuv = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__foffset
face vertex weights and offset
This is how you get a reference on the corresponding field in the struct:
ChildParticle childparticle = ...; CPointer<Object> p = childparticle.__dna__addressof(ChildParticle.__DNA__FIELD__foffset); CPointer<Float> p_foffset = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__rt
This is how you get a reference on the corresponding field in the struct:
ChildParticle childparticle = ...; CPointer<Object> p = childparticle.__dna__addressof(ChildParticle.__DNA__FIELD__rt); CPointer<Float> p_rt = p.cast(new Class[]{Float.class});
public ChildParticle(long __address, Block __block, BlockTable __blockTable)
protected ChildParticle(ChildParticle that)
public int getNum() throws java.io.IOException
java.io.IOException
__DNA__FIELD__num
public void setNum(int num) throws java.io.IOException
java.io.IOException
__DNA__FIELD__num
public int getParent() throws java.io.IOException
num is face index on the final derived mesh
java.io.IOException
__DNA__FIELD__parent
public void setParent(int parent) throws java.io.IOException
num is face index on the final derived mesh
java.io.IOException
__DNA__FIELD__parent
public CArrayFacade<java.lang.Integer> getPa() throws java.io.IOException
nearest particles to the child, used for the interpolation
java.io.IOException
__DNA__FIELD__pa
public void setPa(CArrayFacade<java.lang.Integer> pa) throws java.io.IOException
nearest particles to the child, used for the interpolation
java.io.IOException
__DNA__FIELD__pa
public CArrayFacade<java.lang.Float> getW() throws java.io.IOException
interpolation weights for the above particles
java.io.IOException
__DNA__FIELD__w
public void setW(CArrayFacade<java.lang.Float> w) throws java.io.IOException
interpolation weights for the above particles
java.io.IOException
__DNA__FIELD__w
public CArrayFacade<java.lang.Float> getFuv() throws java.io.IOException
java.io.IOException
__DNA__FIELD__fuv
public void setFuv(CArrayFacade<java.lang.Float> fuv) throws java.io.IOException
java.io.IOException
__DNA__FIELD__fuv
public float getFoffset() throws java.io.IOException
face vertex weights and offset
java.io.IOException
__DNA__FIELD__foffset
public void setFoffset(float foffset) throws java.io.IOException
face vertex weights and offset
java.io.IOException
__DNA__FIELD__foffset
public float getRt() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rt
public void setRt(float rt) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rt
public CPointer<ChildParticle> __io__addressof()