Class WeldModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         WeldModifierData weldmodifierdata = ...;
         CPointer<Object> p = weldmodifierdata.__dna__addressof(WeldModifierData.__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__merge_dist

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

        Field Documentation

        Blender Source Code

        The limit below which to merge vertices.

        Pointer Arithmetics

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

         WeldModifierData weldmodifierdata = ...;
         CPointer<Object> p = weldmodifierdata.__dna__addressof(WeldModifierData.__DNA__FIELD__merge_dist);
         CPointer<Float> p_merge_dist = p.cast(new Class[]{Float.class});
         

        Metadata

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

        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:

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

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

         WeldModifierData weldmodifierdata = ...;
         CPointer<Object> p = weldmodifierdata.__dna__addressof(WeldModifierData.__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___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:

         WeldModifierData weldmodifierdata = ...;
         CPointer<Object> p = weldmodifierdata.__dna__addressof(WeldModifierData.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • WeldModifierData

        public WeldModifierData​(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
      • getMerge_dist

        public float getMerge_dist()
                            throws java.io.IOException
        Get method for struct member 'merge_dist'.

        Field Documentation

        Blender Source Code

        The limit below which to merge vertices.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__merge_dist
      • setMerge_dist

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

        Field Documentation

        Blender Source Code

        The limit below which to merge vertices.

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

        Name of vertex group to use to mask, #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

        Name of vertex group to use to mask, #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
      • get_pad

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