Class SmoothModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         SmoothModifierData smoothmodifierdata = ...;
         CPointer<Object> p = smoothmodifierdata.__dna__addressof(SmoothModifierData.__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__fac

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

        Pointer Arithmetics

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

         SmoothModifierData smoothmodifierdata = ...;
         CPointer<Object> p = smoothmodifierdata.__dna__addressof(SmoothModifierData.__DNA__FIELD__fac);
         CPointer<Float> p_fac = p.cast(new Class[]{Float.class});
         

        Metadata

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

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

         SmoothModifierData smoothmodifierdata = ...;
         CPointer<Object> p = smoothmodifierdata.__dna__addressof(SmoothModifierData.__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__repeat

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

        Pointer Arithmetics

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

         SmoothModifierData smoothmodifierdata = ...;
         CPointer<Object> p = smoothmodifierdata.__dna__addressof(SmoothModifierData.__DNA__FIELD__repeat);
         CPointer<Short> p_repeat = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'repeat'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • SmoothModifierData

        public SmoothModifierData​(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
      • getFac

        public float getFac()
                     throws java.io.IOException
        Get method for struct member 'fac'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac
      • setFac

        public void setFac​(float fac)
                    throws java.io.IOException
        Set method for struct member 'fac'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac
      • 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
      • 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
      • getRepeat

        public short getRepeat()
                        throws java.io.IOException
        Get method for struct member 'repeat'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__repeat
      • setRepeat

        public void setRepeat​(short repeat)
                       throws java.io.IOException
        Set method for struct member 'repeat'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__repeat