Class ChildParticle
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ChildParticle
-
public class ChildParticle extends CFacade
Generated facet for DNA struct type 'ChildParticle'.Class Documentation
Blender Source Code
Child particles are created around or between parent particles
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 ChildParticle(long __address, Block __block, BlockTable __blockTable)
protected
ChildParticle(ChildParticle that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 ChildParticle.It is required when allocating a new block to store data for ChildParticle.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__num
public static final long[] __DNA__FIELD__num
Field descriptor (offset) for struct member 'num'.Field Documentation
Blender Source Code
Num is face index on the final derived mesh.
Pointer Arithmetics
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});
Metadata
- Field: 'num'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__parent
public static final long[] __DNA__FIELD__parent
Field descriptor (offset) for struct member 'parent'.Pointer Arithmetics
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});
Metadata
- Field: 'parent'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__pa
public static final long[] __DNA__FIELD__pa
Field descriptor (offset) for struct member 'pa'.Field Documentation
Blender Source Code
Nearest particles to the child, used for the interpolation.
Pointer Arithmetics
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});
Metadata
- Field: 'pa'
- Signature: 'int[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__w
public static final long[] __DNA__FIELD__w
Field descriptor (offset) for struct member 'w'.Field Documentation
Blender Source Code
Interpolation weights for the above particles.
Pointer Arithmetics
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});
Metadata
- Field: 'w'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__fuv
public static final long[] __DNA__FIELD__fuv
Field descriptor (offset) for struct member 'fuv'.Field Documentation
Blender Source Code
Face vertex weights and offset.
Pointer Arithmetics
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});
Metadata
- Field: 'fuv'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__foffset
public static final long[] __DNA__FIELD__foffset
Field descriptor (offset) for struct member 'foffset'.Pointer Arithmetics
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});
Metadata
- Field: 'foffset'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__rt
public static final long[] __DNA__FIELD__rt
Field descriptor (offset) for struct member 'rt'.Pointer Arithmetics
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});
Metadata
- Field: 'rt'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ChildParticle
public ChildParticle(long __address, Block __block, BlockTable __blockTable)
-
ChildParticle
protected ChildParticle(ChildParticle that)
-
-
Method Detail
-
getNum
public int getNum() throws java.io.IOException
Get method for struct member 'num'.Field Documentation
Blender Source Code
Num is face index on the final derived mesh.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__num
-
setNum
public void setNum(int num) throws java.io.IOException
Set method for struct member 'num'.Field Documentation
Blender Source Code
Num is face index on the final derived mesh.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__num
-
getParent
public int getParent() throws java.io.IOException
Get method for struct member 'parent'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parent
-
setParent
public void setParent(int parent) throws java.io.IOException
Set method for struct member 'parent'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parent
-
getPa
public CArrayFacade<java.lang.Integer> getPa() throws java.io.IOException
Get method for struct member 'pa'.Field Documentation
Blender Source Code
Nearest particles to the child, used for the interpolation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pa
-
setPa
public void setPa(CArrayFacade<java.lang.Integer> pa) throws java.io.IOException
Set method for struct member 'pa'.Field Documentation
Blender Source Code
Nearest particles to the child, used for the interpolation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pa
-
getW
public CArrayFacade<java.lang.Float> getW() throws java.io.IOException
Get method for struct member 'w'.Field Documentation
Blender Source Code
Interpolation weights for the above particles.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__w
-
setW
public void setW(CArrayFacade<java.lang.Float> w) throws java.io.IOException
Set method for struct member 'w'.Field Documentation
Blender Source Code
Interpolation weights for the above particles.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__w
-
getFuv
public CArrayFacade<java.lang.Float> getFuv() throws java.io.IOException
Get method for struct member 'fuv'.Field Documentation
Blender Source Code
Face vertex weights and offset.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fuv
-
setFuv
public void setFuv(CArrayFacade<java.lang.Float> fuv) throws java.io.IOException
Set method for struct member 'fuv'.Field Documentation
Blender Source Code
Face vertex weights and offset.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fuv
-
getFoffset
public float getFoffset() throws java.io.IOException
Get method for struct member 'foffset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__foffset
-
setFoffset
public void setFoffset(float foffset) throws java.io.IOException
Set method for struct member 'foffset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__foffset
-
getRt
public float getRt() throws java.io.IOException
Get method for struct member 'rt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rt
-
setRt
public void setRt(float rt) throws java.io.IOException
Set method for struct member 'rt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rt
-
__io__addressof
public CPointer<ChildParticle> __io__addressof()
Instantiates a pointer on this instance.
-
-