Class MeshToVolumeModifierData


  • public class MeshToVolumeModifierData
    extends CFacade
    Generated facet for DNA struct type 'MeshToVolumeModifierData'.

    Class Documentation

    • 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)
    • 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