Class MeshToVolumeModifierData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MeshToVolumeModifierData
-
public class MeshToVolumeModifierData extends CFacade
Generated facet for DNA struct type 'MeshToVolumeModifierData'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.static long[]
__DNA__FIELD___pad3
Field descriptor (offset) for struct member '_pad3'.static long[]
__DNA__FIELD__density
Field descriptor (offset) for struct member 'density'.static long[]
__DNA__FIELD__exterior_band_width
Field descriptor (offset) for struct member 'exterior_band_width'.static long[]
__DNA__FIELD__fill_volume
Field descriptor (offset) for struct member 'fill_volume'.static long[]
__DNA__FIELD__interior_band_width
Field descriptor (offset) for struct member 'interior_band_width'.static long[]
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.static long[]
__DNA__FIELD__object
Field descriptor (offset) for struct member 'object'.static long[]
__DNA__FIELD__resolution_mode
Field descriptor (offset) for struct member 'resolution_mode'.static long[]
__DNA__FIELD__voxel_amount
Field descriptor (offset) for struct member 'voxel_amount'.static long[]
__DNA__FIELD__voxel_size
Field descriptor (offset) for struct member 'voxel_size'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MeshToVolumeModifierData.-
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 MeshToVolumeModifierData(long __address, Block __block, BlockTable __blockTable)
protected
MeshToVolumeModifierData(MeshToVolumeModifierData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MeshToVolumeModifierData>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad1()
Get method for struct member '_pad1'.CArrayFacade<java.lang.Byte>
get_pad2()
Get method for struct member '_pad2'.CPointer<java.lang.Object>
get_pad3()
Get method for struct member '_pad3'.float
getDensity()
Get method for struct member 'density'.float
getExterior_band_width()
Get method for struct member 'exterior_band_width'.byte
getFill_volume()
Get method for struct member 'fill_volume'.float
getInterior_band_width()
Get method for struct member 'interior_band_width'.ModifierData
getModifier()
Get method for struct member 'modifier'.CPointer<BlenderObject>
getObject()
Get method for struct member 'object'.int
getResolution_mode()
Get method for struct member 'resolution_mode'.int
getVoxel_amount()
Get method for struct member 'voxel_amount'.float
getVoxel_size()
Get method for struct member 'voxel_size'.void
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.void
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.void
set_pad3(CPointer<java.lang.Object> _pad3)
Set method for struct member '_pad3'.void
setDensity(float density)
Set method for struct member 'density'.void
setExterior_band_width(float exterior_band_width)
Set method for struct member 'exterior_band_width'.void
setFill_volume(byte fill_volume)
Set method for struct member 'fill_volume'.void
setInterior_band_width(float interior_band_width)
Set method for struct member 'interior_band_width'.void
setModifier(ModifierData modifier)
Set method for struct member 'modifier'.void
setObject(CPointer<BlenderObject> object)
Set method for struct member 'object'.void
setResolution_mode(int resolution_mode)
Set method for struct member 'resolution_mode'.void
setVoxel_amount(int voxel_amount)
Set method for struct member 'voxel_amount'.void
setVoxel_size(float voxel_size)
Set method for struct member 'voxel_size'.-
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 MeshToVolumeModifierData.It is required when allocating a new block to store data for MeshToVolumeModifierData.
- 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:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__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__object
public static final long[] __DNA__FIELD__object
Field descriptor (offset) for struct member 'object'.Field Documentation
Blender Source Code
This is the object that is supposed to be converted to a volume.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__object); CPointer<CPointer<BlenderObject>> p_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'object'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__resolution_mode
public static final long[] __DNA__FIELD__resolution_mode
Field descriptor (offset) for struct member 'resolution_mode'.Field Documentation
Blender Source Code
ToVolumeModifierResolutionMode
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__resolution_mode); CPointer<Integer> p_resolution_mode = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'resolution_mode'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__voxel_size
public static final long[] __DNA__FIELD__voxel_size
Field descriptor (offset) for struct member 'voxel_size'.Field Documentation
Blender Source Code
Size of a voxel in object space.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__voxel_size); CPointer<Float> p_voxel_size = p.cast(new Class[]{Float.class});
Metadata
- Field: 'voxel_size'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__voxel_amount
public static final long[] __DNA__FIELD__voxel_amount
Field descriptor (offset) for struct member 'voxel_amount'.Field Documentation
Blender Source Code
The desired amount of voxels along one axis. The actual amount of voxels might be slightly different.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__voxel_amount); CPointer<Integer> p_voxel_amount = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'voxel_amount'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__fill_volume
public static final long[] __DNA__FIELD__fill_volume
Field descriptor (offset) for struct member 'fill_volume'.Field Documentation
Blender Source Code
If true, every cell in the enclosed volume gets a density. Otherwise, the interior_band_width is used.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__fill_volume); CPointer<Byte> p_fill_volume = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'fill_volume'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__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:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad1'
- Signature: 'char[3]'
- Actual Size (32bit/64bit): 3/3
-
__DNA__FIELD__interior_band_width
public static final long[] __DNA__FIELD__interior_band_width
Field descriptor (offset) for struct member 'interior_band_width'.Field Documentation
Blender Source Code
Band widths are in object space.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__interior_band_width); CPointer<Float> p_interior_band_width = p.cast(new Class[]{Float.class});
Metadata
- Field: 'interior_band_width'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__exterior_band_width
public static final long[] __DNA__FIELD__exterior_band_width
Field descriptor (offset) for struct member 'exterior_band_width'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__exterior_band_width); CPointer<Float> p_exterior_band_width = p.cast(new Class[]{Float.class});
Metadata
- Field: 'exterior_band_width'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__density
public static final long[] __DNA__FIELD__density
Field descriptor (offset) for struct member 'density'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__density); CPointer<Float> p_density = p.cast(new Class[]{Float.class});
Metadata
- Field: 'density'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad2
public static final long[] __DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad2'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad3
public static final long[] __DNA__FIELD___pad3
Field descriptor (offset) for struct member '_pad3'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD___pad3); CPointer<CPointer<Object>> p__pad3 = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: '_pad3'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
MeshToVolumeModifierData
public MeshToVolumeModifierData(long __address, Block __block, BlockTable __blockTable)
-
MeshToVolumeModifierData
protected MeshToVolumeModifierData(MeshToVolumeModifierData 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
-
getObject
public CPointer<BlenderObject> getObject() throws java.io.IOException
Get method for struct member 'object'.Field Documentation
Blender Source Code
This is the object that is supposed to be converted to a volume.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__object
-
setObject
public void setObject(CPointer<BlenderObject> object) throws java.io.IOException
Set method for struct member 'object'.Field Documentation
Blender Source Code
This is the object that is supposed to be converted to a volume.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__object
-
getResolution_mode
public int getResolution_mode() throws java.io.IOException
Get method for struct member 'resolution_mode'.Field Documentation
Blender Source Code
ToVolumeModifierResolutionMode
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__resolution_mode
-
setResolution_mode
public void setResolution_mode(int resolution_mode) throws java.io.IOException
Set method for struct member 'resolution_mode'.Field Documentation
Blender Source Code
ToVolumeModifierResolutionMode
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__resolution_mode
-
getVoxel_size
public float getVoxel_size() throws java.io.IOException
Get method for struct member 'voxel_size'.Field Documentation
Blender Source Code
Size of a voxel in object space.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__voxel_size
-
setVoxel_size
public void setVoxel_size(float voxel_size) throws java.io.IOException
Set method for struct member 'voxel_size'.Field Documentation
Blender Source Code
Size of a voxel in object space.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__voxel_size
-
getVoxel_amount
public int getVoxel_amount() throws java.io.IOException
Get method for struct member 'voxel_amount'.Field Documentation
Blender Source Code
The desired amount of voxels along one axis. The actual amount of voxels might be slightly different.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__voxel_amount
-
setVoxel_amount
public void setVoxel_amount(int voxel_amount) throws java.io.IOException
Set method for struct member 'voxel_amount'.Field Documentation
Blender Source Code
The desired amount of voxels along one axis. The actual amount of voxels might be slightly different.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__voxel_amount
-
getFill_volume
public byte getFill_volume() throws java.io.IOException
Get method for struct member 'fill_volume'.Field Documentation
Blender Source Code
If true, every cell in the enclosed volume gets a density. Otherwise, the interior_band_width is used.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fill_volume
-
setFill_volume
public void setFill_volume(byte fill_volume) throws java.io.IOException
Set method for struct member 'fill_volume'.Field Documentation
Blender Source Code
If true, every cell in the enclosed volume gets a density. Otherwise, the interior_band_width is used.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fill_volume
-
get_pad1
public CArrayFacade<java.lang.Byte> 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(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
getInterior_band_width
public float getInterior_band_width() throws java.io.IOException
Get method for struct member 'interior_band_width'.Field Documentation
Blender Source Code
Band widths are in object space.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__interior_band_width
-
setInterior_band_width
public void setInterior_band_width(float interior_band_width) throws java.io.IOException
Set method for struct member 'interior_band_width'.Field Documentation
Blender Source Code
Band widths are in object space.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__interior_band_width
-
getExterior_band_width
public float getExterior_band_width() throws java.io.IOException
Get method for struct member 'exterior_band_width'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__exterior_band_width
-
setExterior_band_width
public void setExterior_band_width(float exterior_band_width) throws java.io.IOException
Set method for struct member 'exterior_band_width'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__exterior_band_width
-
getDensity
public float getDensity() throws java.io.IOException
Get method for struct member 'density'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__density
-
setDensity
public void setDensity(float density) throws java.io.IOException
Set method for struct member 'density'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__density
-
get_pad2
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
Get method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
set_pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
Set method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
get_pad3
public CPointer<java.lang.Object> get_pad3() throws java.io.IOException
Get method for struct member '_pad3'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad3
-
set_pad3
public void set_pad3(CPointer<java.lang.Object> _pad3) throws java.io.IOException
Set method for struct member '_pad3'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad3
-
__io__addressof
public CPointer<MeshToVolumeModifierData> __io__addressof()
Instantiates a pointer on this instance.
-
-