Class DecimateModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__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__percent

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_COLLAPSE).

        Pointer Arithmetics

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__percent);
         CPointer<Float> p_percent = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'percent'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__iter

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_UNSUBDIV).

        Pointer Arithmetics

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__iter);
         CPointer<Short> p_iter = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'iter'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__delimit

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_DISSOLVE).

        Pointer Arithmetics

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__delimit);
         CPointer<Byte> p_delimit = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'delimit'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__symmetry_axis

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_COLLAPSE).

        Pointer Arithmetics

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__symmetry_axis);
         CPointer<Byte> p_symmetry_axis = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'symmetry_axis'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__angle

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_DISSOLVE).

        Pointer Arithmetics

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__angle);
         CPointer<Float> p_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__defgrp_name

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

        Field Documentation

        Blender Source Code

        MAX_VGROUP_NAME.

        Pointer Arithmetics

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__defgrp_name);
         CPointer<CArrayFacade<Byte>> p_defgrp_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'defgrp_name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__defgrp_factor

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

        Pointer Arithmetics

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__defgrp_factor);
         CPointer<Float> p_defgrp_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'defgrp_factor'
        • 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'.

        Pointer Arithmetics

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

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__mode);
         CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__face_count

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

        Field Documentation

        Blender Source Code

        runtime only

        Pointer Arithmetics

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

         DecimateModifierData decimatemodifierdata = ...;
         CPointer<Object> p = decimatemodifierdata.__dna__addressof(DecimateModifierData.__DNA__FIELD__face_count);
         CPointer<Integer> p_face_count = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • DecimateModifierData

        public DecimateModifierData​(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
      • getPercent

        public float getPercent()
                         throws java.io.IOException
        Get method for struct member 'percent'.

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_COLLAPSE).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__percent
      • setPercent

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_COLLAPSE).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__percent
      • getIter

        public short getIter()
                      throws java.io.IOException
        Get method for struct member 'iter'.

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_UNSUBDIV).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__iter
      • setIter

        public void setIter​(short iter)
                     throws java.io.IOException
        Set method for struct member 'iter'.

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_UNSUBDIV).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__iter
      • getDelimit

        public byte getDelimit()
                        throws java.io.IOException
        Get method for struct member 'delimit'.

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_DISSOLVE).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__delimit
      • setDelimit

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_DISSOLVE).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__delimit
      • getSymmetry_axis

        public byte getSymmetry_axis()
                              throws java.io.IOException
        Get method for struct member 'symmetry_axis'.

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_COLLAPSE).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__symmetry_axis
      • setSymmetry_axis

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_COLLAPSE).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__symmetry_axis
      • getAngle

        public float getAngle()
                       throws java.io.IOException
        Get method for struct member 'angle'.

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_DISSOLVE).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle
      • setAngle

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

        Field Documentation

        Blender Source Code

        (mode == MOD_DECIM_MODE_DISSOLVE).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle
      • getDefgrp_name

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

        Field Documentation

        Blender Source Code

        MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defgrp_name
      • setDefgrp_name

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

        Field Documentation

        Blender Source Code

        MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defgrp_name
      • getDefgrp_factor

        public float getDefgrp_factor()
                               throws java.io.IOException
        Get method for struct member 'defgrp_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defgrp_factor
      • setDefgrp_factor

        public void setDefgrp_factor​(float defgrp_factor)
                              throws java.io.IOException
        Set method for struct member 'defgrp_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defgrp_factor
      • 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
      • getMode

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

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

        public int getFace_count()
                          throws java.io.IOException
        Get method for struct member 'face_count'.

        Field Documentation

        Blender Source Code

        runtime only

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__face_count
      • setFace_count

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

        Field Documentation

        Blender Source Code

        runtime only

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__face_count