Class ParticleSystemModifierData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ParticleSystemModifierData
-
public class ParticleSystemModifierData extends CFacade
Generated facet for DNA struct type 'ParticleSystemModifierData'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__mesh_final
Field descriptor (offset) for struct member 'mesh_final'.static long[]
__DNA__FIELD__mesh_original
Field descriptor (offset) for struct member 'mesh_original'.static long[]
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.static long[]
__DNA__FIELD__psys
Field descriptor (offset) for struct member 'psys'.static long[]
__DNA__FIELD__totdmedge
Field descriptor (offset) for struct member 'totdmedge'.static long[]
__DNA__FIELD__totdmface
Field descriptor (offset) for struct member 'totdmface'.static long[]
__DNA__FIELD__totdmvert
Field descriptor (offset) for struct member 'totdmvert'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ParticleSystemModifierData.-
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 ParticleSystemModifierData(long __address, Block __block, BlockTable __blockTable)
protected
ParticleSystemModifierData(ParticleSystemModifierData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ParticleSystemModifierData>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<java.lang.Object>
get_pad1()
Get method for struct member '_pad1'.short
getFlag()
Get method for struct member 'flag'.CPointer<Mesh>
getMesh_final()
Get method for struct member 'mesh_final'.CPointer<Mesh>
getMesh_original()
Get method for struct member 'mesh_original'.ModifierData
getModifier()
Get method for struct member 'modifier'.CPointer<ParticleSystem>
getPsys()
Get method for struct member 'psys'.int
getTotdmedge()
Get method for struct member 'totdmedge'.int
getTotdmface()
Get method for struct member 'totdmface'.int
getTotdmvert()
Get method for struct member 'totdmvert'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
set_pad1(CPointer<java.lang.Object> _pad1)
Set method for struct member '_pad1'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setMesh_final(CPointer<Mesh> mesh_final)
Set method for struct member 'mesh_final'.void
setMesh_original(CPointer<Mesh> mesh_original)
Set method for struct member 'mesh_original'.void
setModifier(ModifierData modifier)
Set method for struct member 'modifier'.void
setPsys(CPointer<ParticleSystem> psys)
Set method for struct member 'psys'.void
setTotdmedge(int totdmedge)
Set method for struct member 'totdmedge'.void
setTotdmface(int totdmface)
Set method for struct member 'totdmface'.void
setTotdmvert(int totdmvert)
Set method for struct member 'totdmvert'.-
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 ParticleSystemModifierData.It is required when allocating a new block to store data for ParticleSystemModifierData.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__modifier
public static final long[] __DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD__modifier); CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
Metadata
- Field: 'modifier'
- Signature: 'ModifierData'
- Actual Size (32bit/64bit): 104/120
-
__DNA__FIELD__psys
public static final long[] __DNA__FIELD__psys
Field descriptor (offset) for struct member 'psys'.Field Documentation
Blender Source Code
Note
Storing the particle system pointer here is very weak, as it prevents modifiers' data copying to be self-sufficient (extra external code needs to ensure the pointer remains valid when the modifier data is copied from one object to another). See e.g. BKE_object_copy_particlesystems or BKE_object_copy_modifier..
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD__psys); CPointer<CPointer<ParticleSystem>> p_psys = p.cast(new Class[]{CPointer.class, ParticleSystem.class});
Metadata
- Field: 'psys'
- Signature: 'ParticleSystem*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__mesh_final
public static final long[] __DNA__FIELD__mesh_final
Field descriptor (offset) for struct member 'mesh_final'.Field Documentation
Blender Source Code
Final
Mesh
- its topology may differ from orig mesh.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD__mesh_final); CPointer<CPointer<Mesh>> p_mesh_final = p.cast(new Class[]{CPointer.class, Mesh.class});
Metadata
- Field: 'mesh_final'
- Signature: 'Mesh*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__mesh_original
public static final long[] __DNA__FIELD__mesh_original
Field descriptor (offset) for struct member 'mesh_original'.Field Documentation
Blender Source Code
Original mesh that particles are attached to.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD__mesh_original); CPointer<CPointer<Mesh>> p_mesh_original = p.cast(new Class[]{CPointer.class, Mesh.class});
Metadata
- Field: 'mesh_original'
- Signature: 'Mesh*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__totdmvert
public static final long[] __DNA__FIELD__totdmvert
Field descriptor (offset) for struct member 'totdmvert'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD__totdmvert); CPointer<Integer> p_totdmvert = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'totdmvert'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__totdmedge
public static final long[] __DNA__FIELD__totdmedge
Field descriptor (offset) for struct member 'totdmedge'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD__totdmedge); CPointer<Integer> p_totdmedge = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'totdmedge'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__totdmface
public static final long[] __DNA__FIELD__totdmface
Field descriptor (offset) for struct member 'totdmface'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD__totdmface); CPointer<Integer> p_totdmface = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'totdmface'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[2]'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ParticleSystemModifierData particlesystemmodifierdata = ...; CPointer<Object> p = particlesystemmodifierdata.__dna__addressof(ParticleSystemModifierData.__DNA__FIELD___pad1); CPointer<CPointer<Object>> p__pad1 = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: '_pad1'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
ParticleSystemModifierData
public ParticleSystemModifierData(long __address, Block __block, BlockTable __blockTable)
-
ParticleSystemModifierData
protected ParticleSystemModifierData(ParticleSystemModifierData that)
-
-
Method Detail
-
getModifier
public ModifierData getModifier() throws java.io.IOException
Get method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
setModifier
public void setModifier(ModifierData modifier) throws java.io.IOException
Set method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
getPsys
public CPointer<ParticleSystem> getPsys() throws java.io.IOException
Get method for struct member 'psys'.Field Documentation
Blender Source Code
Note
Storing the particle system pointer here is very weak, as it prevents modifiers' data copying to be self-sufficient (extra external code needs to ensure the pointer remains valid when the modifier data is copied from one object to another). See e.g. BKE_object_copy_particlesystems or BKE_object_copy_modifier..
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__psys
-
setPsys
public void setPsys(CPointer<ParticleSystem> psys) throws java.io.IOException
Set method for struct member 'psys'.Field Documentation
Blender Source Code
Note
Storing the particle system pointer here is very weak, as it prevents modifiers' data copying to be self-sufficient (extra external code needs to ensure the pointer remains valid when the modifier data is copied from one object to another). See e.g. BKE_object_copy_particlesystems or BKE_object_copy_modifier..
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__psys
-
getMesh_final
public CPointer<Mesh> getMesh_final() throws java.io.IOException
Get method for struct member 'mesh_final'.Field Documentation
Blender Source Code
Final
Mesh
- its topology may differ from orig mesh.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mesh_final
-
setMesh_final
public void setMesh_final(CPointer<Mesh> mesh_final) throws java.io.IOException
Set method for struct member 'mesh_final'.Field Documentation
Blender Source Code
Final
Mesh
- its topology may differ from orig mesh.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mesh_final
-
getMesh_original
public CPointer<Mesh> getMesh_original() throws java.io.IOException
Get method for struct member 'mesh_original'.Field Documentation
Blender Source Code
Original mesh that particles are attached to.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mesh_original
-
setMesh_original
public void setMesh_original(CPointer<Mesh> mesh_original) throws java.io.IOException
Set method for struct member 'mesh_original'.Field Documentation
Blender Source Code
Original mesh that particles are attached to.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mesh_original
-
getTotdmvert
public int getTotdmvert() throws java.io.IOException
Get method for struct member 'totdmvert'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdmvert
-
setTotdmvert
public void setTotdmvert(int totdmvert) throws java.io.IOException
Set method for struct member 'totdmvert'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdmvert
-
getTotdmedge
public int getTotdmedge() throws java.io.IOException
Get method for struct member 'totdmedge'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdmedge
-
setTotdmedge
public void setTotdmedge(int totdmedge) throws java.io.IOException
Set method for struct member 'totdmedge'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdmedge
-
getTotdmface
public int getTotdmface() throws java.io.IOException
Get method for struct member 'totdmface'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdmface
-
setTotdmface
public void setTotdmface(int totdmface) throws java.io.IOException
Set method for struct member 'totdmface'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdmface
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
get_pad1
public CPointer<java.lang.Object> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CPointer<java.lang.Object> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
__io__addressof
public CPointer<ParticleSystemModifierData> __io__addressof()
Instantiates a pointer on this instance.
-
-