Class RemeshModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__DNA__FIELD__modifier);
         CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'ModifierData'
        • Actual Size (32bit/64bit): 100/120
      • __DNA__FIELD__threshold

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

        Field Documentation

        Blender Source Code

        floodfill option, controls how small components can be before they are removed

        Pointer Arithmetics

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

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__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__scale

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

        Field Documentation

        Blender Source Code

        ratio between size of model and grid

        Pointer Arithmetics

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

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__DNA__FIELD__scale);
         CPointer<Float> p_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__hermite_num

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

        Pointer Arithmetics

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

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__DNA__FIELD__hermite_num);
         CPointer<Float> p_hermite_num = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'hermite_num'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__depth

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

        Field Documentation

        Blender Source Code

        octree depth

        Pointer Arithmetics

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

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__DNA__FIELD__depth);
         CPointer<Byte> p_depth = p.cast(new Class[]{Byte.class});
         

        Metadata

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

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__mode

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

        Pointer Arithmetics

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

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__DNA__FIELD__mode);
         CPointer<Byte> p_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

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

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__DNA__FIELD___pad);
         CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
         

        Metadata

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

        OpenVDB Voxel remesh properties.

        Pointer Arithmetics

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

         RemeshModifierData remeshmodifierdata = ...;
         CPointer<Object> p = remeshmodifierdata.__dna__addressof(RemeshModifierData.__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__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:

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

        Metadata

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

      • RemeshModifierData

        public RemeshModifierData​(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
      • getThreshold

        public float getThreshold()
                           throws java.io.IOException
        Get method for struct member 'threshold'.

        Field Documentation

        Blender Source Code

        floodfill option, controls how small components can be before they are removed

        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'.

        Field Documentation

        Blender Source Code

        floodfill option, controls how small components can be before they are removed

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__threshold
      • getScale

        public float getScale()
                       throws java.io.IOException
        Get method for struct member 'scale'.

        Field Documentation

        Blender Source Code

        ratio between size of model and grid

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • setScale

        public void setScale​(float scale)
                      throws java.io.IOException
        Set method for struct member 'scale'.

        Field Documentation

        Blender Source Code

        ratio between size of model and grid

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • getHermite_num

        public float getHermite_num()
                             throws java.io.IOException
        Get method for struct member 'hermite_num'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hermite_num
      • setHermite_num

        public void setHermite_num​(float hermite_num)
                            throws java.io.IOException
        Set method for struct member 'hermite_num'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hermite_num
      • getDepth

        public byte getDepth()
                      throws java.io.IOException
        Get method for struct member 'depth'.

        Field Documentation

        Blender Source Code

        octree depth

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__depth
      • setDepth

        public void setDepth​(byte depth)
                      throws java.io.IOException
        Set method for struct member 'depth'.

        Field Documentation

        Blender Source Code

        octree depth

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__depth
      • getFlag

        public byte getFlag()
                     throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(byte flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getMode

        public byte getMode()
                     throws java.io.IOException
        Get method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

        public void setMode​(byte mode)
                     throws java.io.IOException
        Set method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • get_pad

        public 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​(byte _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getVoxel_size

        public float getVoxel_size()
                            throws java.io.IOException
        Get method for struct member 'voxel_size'.

        Field Documentation

        Blender Source Code

        OpenVDB Voxel remesh properties.

        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

        OpenVDB Voxel remesh properties.

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