Class VolumeToMeshModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct VolumeToMeshModifierData.

        It is required when allocating a new block to store data for VolumeToMeshModifierData.

        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:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__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 volume object that is supposed to be converted to a mesh.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__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__threshold

        public static final long[] __DNA__FIELD__threshold
        Field descriptor (offset) for struct member 'threshold'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__DNA__FIELD__threshold);
         CPointer<Float> p_threshold = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'threshold'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__adaptivity

        public static final long[] __DNA__FIELD__adaptivity
        Field descriptor (offset) for struct member 'adaptivity'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__DNA__FIELD__adaptivity);
         CPointer<Float> p_adaptivity = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'adaptivity'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

        public static final long[] __DNA__FIELD__flag
        Field descriptor (offset) for struct member 'flag'.

        Field Documentation

        Blender Source Code

        VolumeToMeshFlag

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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

        VolumeToMeshResolutionMode

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__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'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__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'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__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__grid_name

        public static final long[] __DNA__FIELD__grid_name
        Field descriptor (offset) for struct member 'grid_name'.

        Field Documentation

        Blender Source Code

        MAX_NAME

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__DNA__FIELD__grid_name);
         CPointer<CArrayFacade<Byte>> p_grid_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'grid_name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __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:

         VolumeToMeshModifierData volumetomeshmodifierdata = ...;
         CPointer<Object> p = volumetomeshmodifierdata.__dna__addressof(VolumeToMeshModifierData.__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

      • VolumeToMeshModifierData

        public VolumeToMeshModifierData​(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 volume object that is supposed to be converted to a mesh.

        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 volume object that is supposed to be converted to a mesh.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__object
      • getThreshold

        public float getThreshold()
                           throws java.io.IOException
        Get method for struct member 'threshold'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__threshold
      • setThreshold

        public void setThreshold​(float threshold)
                          throws java.io.IOException
        Set method for struct member 'threshold'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__threshold
      • getAdaptivity

        public float getAdaptivity()
                            throws java.io.IOException
        Get method for struct member 'adaptivity'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adaptivity
      • setAdaptivity

        public void setAdaptivity​(float adaptivity)
                           throws java.io.IOException
        Set method for struct member 'adaptivity'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adaptivity
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        VolumeToMeshFlag

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(int flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        VolumeToMeshFlag

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getResolution_mode

        public int getResolution_mode()
                               throws java.io.IOException
        Get method for struct member 'resolution_mode'.

        Field Documentation

        Blender Source Code

        VolumeToMeshResolutionMode

        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

        VolumeToMeshResolutionMode

        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'.
        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'.
        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'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__voxel_amount
      • getGrid_name

        public CArrayFacade<java.lang.Byte> getGrid_name()
                                                  throws java.io.IOException
        Get method for struct member 'grid_name'.

        Field Documentation

        Blender Source Code

        MAX_NAME

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grid_name
      • setGrid_name

        public void setGrid_name​(CArrayFacade<java.lang.Byte> grid_name)
                          throws java.io.IOException
        Set method for struct member 'grid_name'.

        Field Documentation

        Blender Source Code

        MAX_NAME

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grid_name
      • 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