Class MaskModifierData


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

    Class Documentation

    Blender Source Code

    Mask Modifier

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         MaskModifierData maskmodifierdata = ...;
         CPointer<Object> p = maskmodifierdata.__dna__addressof(MaskModifierData.__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__ob_arm

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

        Field Documentation

        Blender Source Code

        Armature to use to in place of hardcoded vgroup.

        Pointer Arithmetics

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

         MaskModifierData maskmodifierdata = ...;
         CPointer<Object> p = maskmodifierdata.__dna__addressof(MaskModifierData.__DNA__FIELD__ob_arm);
         CPointer<CPointer<BlenderObject>> p_ob_arm = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'ob_arm'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__vgroup

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

        Field Documentation

        Blender Source Code

        Name of vertex group to use to mask, MAX_VGROUP_NAME.

        Pointer Arithmetics

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

         MaskModifierData maskmodifierdata = ...;
         CPointer<Object> p = maskmodifierdata.__dna__addressof(MaskModifierData.__DNA__FIELD__vgroup);
         CPointer<CArrayFacade<Byte>> p_vgroup = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Using armature or hardcoded vgroup.

        Pointer Arithmetics

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

         MaskModifierData maskmodifierdata = ...;
         CPointer<Object> p = maskmodifierdata.__dna__addressof(MaskModifierData.__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__flag

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

        Field Documentation

        Blender Source Code

        Flags for various things.

        Pointer Arithmetics

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

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

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

        Metadata

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

      • MaskModifierData

        public MaskModifierData​(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
      • getOb_arm

        public CPointer<BlenderObject> getOb_arm()
                                          throws java.io.IOException
        Get method for struct member 'ob_arm'.

        Field Documentation

        Blender Source Code

        Armature to use to in place of hardcoded vgroup.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ob_arm
      • setOb_arm

        public void setOb_arm​(CPointer<BlenderObject> ob_arm)
                       throws java.io.IOException
        Set method for struct member 'ob_arm'.

        Field Documentation

        Blender Source Code

        Armature to use to in place of hardcoded vgroup.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ob_arm
      • getVgroup

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

        Field Documentation

        Blender Source Code

        Name of vertex group to use to mask, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup
      • setVgroup

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

        Field Documentation

        Blender Source Code

        Name of vertex group to use to mask, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup
      • getMode

        public short getMode()
                      throws java.io.IOException
        Get method for struct member 'mode'.

        Field Documentation

        Blender Source Code

        Using armature or hardcoded vgroup.

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

        Field Documentation

        Blender Source Code

        Using armature or hardcoded vgroup.

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

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

        Field Documentation

        Blender Source Code

        Flags for various things.

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

        Field Documentation

        Blender Source Code

        Flags for various things.

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