Class CurveModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         CurveModifierData curvemodifierdata = ...;
         CPointer<Object> p = curvemodifierdata.__dna__addressof(CurveModifierData.__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__object

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

        Pointer Arithmetics

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

         CurveModifierData curvemodifierdata = ...;
         CPointer<Object> p = curvemodifierdata.__dna__addressof(CurveModifierData.__DNA__FIELD__object);
         CPointer<CPointer<BlenderObject>> p_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Pointer Arithmetics

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

         CurveModifierData curvemodifierdata = ...;
         CPointer<Object> p = curvemodifierdata.__dna__addressof(CurveModifierData.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Axis along which curve deforms.

        Pointer Arithmetics

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

         CurveModifierData curvemodifierdata = ...;
         CPointer<Object> p = curvemodifierdata.__dna__addressof(CurveModifierData.__DNA__FIELD__defaxis);
         CPointer<Short> p_defaxis = p.cast(new Class[]{Short.class});
         

        Metadata

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

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

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

        Metadata

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

         CurveModifierData curvemodifierdata = ...;
         CPointer<Object> p = curvemodifierdata.__dna__addressof(CurveModifierData.__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

      • CurveModifierData

        public CurveModifierData​(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
      • getName

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

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

        Field Documentation

        Blender Source Code

        Optional vertexgroup name, MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getDefaxis

        public short getDefaxis()
                         throws java.io.IOException
        Get method for struct member 'defaxis'.

        Field Documentation

        Blender Source Code

        Axis along which curve deforms.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__defaxis
      • setDefaxis

        public void setDefaxis​(short defaxis)
                        throws java.io.IOException
        Set method for struct member 'defaxis'.

        Field Documentation

        Blender Source Code

        Axis along which curve deforms.

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