Class SimpleDeformModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         SimpleDeformModifierData simpledeformmodifierdata = ...;
         CPointer<Object> p = simpledeformmodifierdata.__dna__addressof(SimpleDeformModifierData.__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__origin

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

        Field Documentation

        Blender Source Code

        Object to control the origin of modifier space coordinates.

        Pointer Arithmetics

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

         SimpleDeformModifierData simpledeformmodifierdata = ...;
         CPointer<Object> p = simpledeformmodifierdata.__dna__addressof(SimpleDeformModifierData.__DNA__FIELD__origin);
         CPointer<CPointer<BlenderObject>> p_origin = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Optional vertex-group name, #MAX_VGROUP_NAME.

        Pointer Arithmetics

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

         SimpleDeformModifierData simpledeformmodifierdata = ...;
         CPointer<Object> p = simpledeformmodifierdata.__dna__addressof(SimpleDeformModifierData.__DNA__FIELD__vgroup_name);
         CPointer<CArrayFacade<Byte>> p_vgroup_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Factors to control simple deforms.

        Pointer Arithmetics

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

         SimpleDeformModifierData simpledeformmodifierdata = ...;
         CPointer<Object> p = simpledeformmodifierdata.__dna__addressof(SimpleDeformModifierData.__DNA__FIELD__factor);
         CPointer<Float> p_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__limit

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

        Field Documentation

        Blender Source Code

        Lower and upper limit.

        Pointer Arithmetics

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

         SimpleDeformModifierData simpledeformmodifierdata = ...;
         CPointer<Object> p = simpledeformmodifierdata.__dna__addressof(SimpleDeformModifierData.__DNA__FIELD__limit);
         CPointer<CArrayFacade<Float>> p_limit = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'limit'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__mode

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

        Field Documentation

        Blender Source Code

        Deform function.

        Pointer Arithmetics

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

         SimpleDeformModifierData simpledeformmodifierdata = ...;
         CPointer<Object> p = simpledeformmodifierdata.__dna__addressof(SimpleDeformModifierData.__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__axis

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

        Field Documentation

        Blender Source Code

        Lock axis (for taper and stretch).

        Pointer Arithmetics

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

         SimpleDeformModifierData simpledeformmodifierdata = ...;
         CPointer<Object> p = simpledeformmodifierdata.__dna__addressof(SimpleDeformModifierData.__DNA__FIELD__axis);
         CPointer<Byte> p_axis = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'axis'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__deform_axis

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

        Field Documentation

        Blender Source Code

        Axis to perform the deform on (default is X, but can be overridden by origin.

        Pointer Arithmetics

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

         SimpleDeformModifierData simpledeformmodifierdata = ...;
         CPointer<Object> p = simpledeformmodifierdata.__dna__addressof(SimpleDeformModifierData.__DNA__FIELD__deform_axis);
         CPointer<Byte> p_deform_axis = p.cast(new Class[]{Byte.class});
         

        Metadata

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

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

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

      • SimpleDeformModifierData

        public SimpleDeformModifierData​(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
      • getOrigin

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

        Field Documentation

        Blender Source Code

        Object to control the origin of modifier space coordinates.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__origin
      • setOrigin

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

        Field Documentation

        Blender Source Code

        Object to control the origin of modifier space coordinates.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__origin
      • getVgroup_name

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

        Field Documentation

        Blender Source Code

        Optional vertex-group name, #MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_name
      • setVgroup_name

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

        Field Documentation

        Blender Source Code

        Optional vertex-group name, #MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_name
      • getFactor

        public float getFactor()
                        throws java.io.IOException
        Get method for struct member 'factor'.

        Field Documentation

        Blender Source Code

        Factors to control simple deforms.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor
      • setFactor

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

        Field Documentation

        Blender Source Code

        Factors to control simple deforms.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor
      • getLimit

        public CArrayFacade<java.lang.Float> getLimit()
                                               throws java.io.IOException
        Get method for struct member 'limit'.

        Field Documentation

        Blender Source Code

        Lower and upper limit.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__limit
      • setLimit

        public void setLimit​(CArrayFacade<java.lang.Float> limit)
                      throws java.io.IOException
        Set method for struct member 'limit'.

        Field Documentation

        Blender Source Code

        Lower and upper limit.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__limit
      • getMode

        public byte getMode()
                     throws java.io.IOException
        Get method for struct member 'mode'.

        Field Documentation

        Blender Source Code

        Deform function.

        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'.

        Field Documentation

        Blender Source Code

        Deform function.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getAxis

        public byte getAxis()
                     throws java.io.IOException
        Get method for struct member 'axis'.

        Field Documentation

        Blender Source Code

        Lock axis (for taper and stretch).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__axis
      • setAxis

        public void setAxis​(byte axis)
                     throws java.io.IOException
        Set method for struct member 'axis'.

        Field Documentation

        Blender Source Code

        Lock axis (for taper and stretch).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__axis
      • getDeform_axis

        public byte getDeform_axis()
                            throws java.io.IOException
        Get method for struct member 'deform_axis'.

        Field Documentation

        Blender Source Code

        Axis to perform the deform on (default is X, but can be overridden by origin.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__deform_axis
      • setDeform_axis

        public void setDeform_axis​(byte deform_axis)
                            throws java.io.IOException
        Set method for struct member 'deform_axis'.

        Field Documentation

        Blender Source Code

        Axis to perform the deform on (default is X, but can be overridden by origin.

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