Class WeightedNormalModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

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

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

         WeightedNormalModifierData weightednormalmodifierdata = ...;
         CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__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__weight

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

        Pointer Arithmetics

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

         WeightedNormalModifierData weightednormalmodifierdata = ...;
         CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__DNA__FIELD__weight);
         CPointer<Short> p_weight = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'weight'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__thresh

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

        Pointer Arithmetics

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

         WeightedNormalModifierData weightednormalmodifierdata = ...;
         CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__DNA__FIELD__thresh);
         CPointer<Float> p_thresh = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • WeightedNormalModifierData

        public WeightedNormalModifierData​(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
      • 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
      • 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
      • 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
      • getWeight

        public short getWeight()
                        throws java.io.IOException
        Get method for struct member 'weight'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight
      • setWeight

        public void setWeight​(short weight)
                       throws java.io.IOException
        Set method for struct member 'weight'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight
      • getThresh

        public float getThresh()
                        throws java.io.IOException
        Get method for struct member 'thresh'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__thresh
      • setThresh

        public void setThresh​(float thresh)
                       throws java.io.IOException
        Set method for struct member 'thresh'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__thresh