Class NormalEditModifierData


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

    Class Documentation

    Blender Source Code

    Set Split Normals modifier.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__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__target

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

        Field Documentation

        Blender Source Code

        Source of normals, or center of ellipsoid.

        Pointer Arithmetics

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__DNA__FIELD__target);
         CPointer<CPointer<BlenderObject>> p_target = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'target'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __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:

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__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'.

        Pointer Arithmetics

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__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__mix_mode

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

        Pointer Arithmetics

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__DNA__FIELD__mix_mode);
         CPointer<Short> p_mix_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'mix_mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__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
      • __DNA__FIELD__mix_factor

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

        Pointer Arithmetics

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__DNA__FIELD__mix_factor);
         CPointer<Float> p_mix_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'mix_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mix_limit

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

        Pointer Arithmetics

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__DNA__FIELD__mix_limit);
         CPointer<Float> p_mix_limit = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'mix_limit'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__offset

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

        Pointer Arithmetics

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__DNA__FIELD__offset);
         CPointer<CArrayFacade<Float>> p_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'offset'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad1

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

        Pointer Arithmetics

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

         NormalEditModifierData normaleditmodifierdata = ...;
         CPointer<Object> p = normaleditmodifierdata.__dna__addressof(NormalEditModifierData.__DNA__FIELD___pad1);
         CPointer<CPointer<Object>> p__pad1 = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • NormalEditModifierData

        public NormalEditModifierData​(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
      • getTarget

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

        Field Documentation

        Blender Source Code

        Source of normals, or center of ellipsoid.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__target
      • setTarget

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

        Field Documentation

        Blender Source Code

        Source of normals, or center of ellipsoid.

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

        public short getMix_mode()
                          throws java.io.IOException
        Get method for struct member 'mix_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_mode
      • setMix_mode

        public void setMix_mode​(short mix_mode)
                         throws java.io.IOException
        Set method for struct member 'mix_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_mode
      • 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
      • getMix_factor

        public float getMix_factor()
                            throws java.io.IOException
        Get method for struct member 'mix_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_factor
      • setMix_factor

        public void setMix_factor​(float mix_factor)
                           throws java.io.IOException
        Set method for struct member 'mix_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_factor
      • getMix_limit

        public float getMix_limit()
                           throws java.io.IOException
        Get method for struct member 'mix_limit'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_limit
      • setMix_limit

        public void setMix_limit​(float mix_limit)
                          throws java.io.IOException
        Set method for struct member 'mix_limit'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mix_limit
      • getOffset

        public CArrayFacade<java.lang.Float> getOffset()
                                                throws java.io.IOException
        Get method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • setOffset

        public void setOffset​(CArrayFacade<java.lang.Float> offset)
                       throws java.io.IOException
        Set method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • get_pad1

        public CPointer<java.lang.Object> get_pad1()
                                            throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CPointer<java.lang.Object> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1