Class GP_Interpolate_Settings


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

    Class Documentation

    Blender Source Code

    Settings for GP Interpolation Operators

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        eGP_Interpolate_SettingsFlag .

        Pointer Arithmetics

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

         GP_Interpolate_Settings gp_interpolate_settings = ...;
         CPointer<Object> p = gp_interpolate_settings.__dna__addressof(GP_Interpolate_Settings.__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__type

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

        Field Documentation

        Blender Source Code

        eGP_Interpolate_Type - Interpolation Mode.

        Pointer Arithmetics

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

         GP_Interpolate_Settings gp_interpolate_settings = ...;
         CPointer<Object> p = gp_interpolate_settings.__dna__addressof(GP_Interpolate_Settings.__DNA__FIELD__type);
         CPointer<Byte> p_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__easing

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

        Field Documentation

        Blender Source Code

        eBezTriple_Easing - Easing mode (if easing equation used).

        Pointer Arithmetics

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

         GP_Interpolate_Settings gp_interpolate_settings = ...;
         CPointer<Object> p = gp_interpolate_settings.__dna__addressof(GP_Interpolate_Settings.__DNA__FIELD__easing);
         CPointer<Byte> p_easing = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'easing'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__back

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

        Field Documentation

        Blender Source Code

        BEZT_IPO_BACK.

        Pointer Arithmetics

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

         GP_Interpolate_Settings gp_interpolate_settings = ...;
         CPointer<Object> p = gp_interpolate_settings.__dna__addressof(GP_Interpolate_Settings.__DNA__FIELD__back);
         CPointer<Float> p_back = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'back'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__amplitude

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

        Field Documentation

        Blender Source Code

        BEZT_IPO_ELASTIC.

        Pointer Arithmetics

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

         GP_Interpolate_Settings gp_interpolate_settings = ...;
         CPointer<Object> p = gp_interpolate_settings.__dna__addressof(GP_Interpolate_Settings.__DNA__FIELD__amplitude);
         CPointer<Float> p_amplitude = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'amplitude'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__period

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

        Pointer Arithmetics

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

         GP_Interpolate_Settings gp_interpolate_settings = ...;
         CPointer<Object> p = gp_interpolate_settings.__dna__addressof(GP_Interpolate_Settings.__DNA__FIELD__period);
         CPointer<Float> p_period = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'period'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__custom_ipo

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

        Field Documentation

        Blender Source Code

        Custom interpolation curve (for use with GP_IPO_CURVEMAP).

        Pointer Arithmetics

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

         GP_Interpolate_Settings gp_interpolate_settings = ...;
         CPointer<Object> p = gp_interpolate_settings.__dna__addressof(GP_Interpolate_Settings.__DNA__FIELD__custom_ipo);
         CPointer<CPointer<CurveMapping>> p_custom_ipo = p.cast(new Class[]{CPointer.class, CurveMapping.class});
         

        Metadata

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

      • GP_Interpolate_Settings

        public GP_Interpolate_Settings​(long __address,
                                       Block __block,
                                       BlockTable __blockTable)
    • Method Detail

      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        eGP_Interpolate_SettingsFlag .

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

        Field Documentation

        Blender Source Code

        eGP_Interpolate_SettingsFlag .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getType

        public byte getType()
                     throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Blender Source Code

        eGP_Interpolate_Type - Interpolation Mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

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

        Field Documentation

        Blender Source Code

        eGP_Interpolate_Type - Interpolation Mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getEasing

        public byte getEasing()
                       throws java.io.IOException
        Get method for struct member 'easing'.

        Field Documentation

        Blender Source Code

        eBezTriple_Easing - Easing mode (if easing equation used).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__easing
      • setEasing

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

        Field Documentation

        Blender Source Code

        eBezTriple_Easing - Easing mode (if easing equation used).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__easing
      • getBack

        public float getBack()
                      throws java.io.IOException
        Get method for struct member 'back'.

        Field Documentation

        Blender Source Code

        BEZT_IPO_BACK.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__back
      • setBack

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

        Field Documentation

        Blender Source Code

        BEZT_IPO_BACK.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__back
      • getAmplitude

        public float getAmplitude()
                           throws java.io.IOException
        Get method for struct member 'amplitude'.

        Field Documentation

        Blender Source Code

        BEZT_IPO_ELASTIC.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__amplitude
      • setAmplitude

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

        Field Documentation

        Blender Source Code

        BEZT_IPO_ELASTIC.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__amplitude
      • getPeriod

        public float getPeriod()
                        throws java.io.IOException
        Get method for struct member 'period'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__period
      • setPeriod

        public void setPeriod​(float period)
                       throws java.io.IOException
        Set method for struct member 'period'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__period
      • getCustom_ipo

        public CPointer<CurveMapping> getCustom_ipo()
                                             throws java.io.IOException
        Get method for struct member 'custom_ipo'.

        Field Documentation

        Blender Source Code

        Custom interpolation curve (for use with GP_IPO_CURVEMAP).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__custom_ipo
      • setCustom_ipo

        public void setCustom_ipo​(CPointer<CurveMapping> custom_ipo)
                           throws java.io.IOException
        Set method for struct member 'custom_ipo'.

        Field Documentation

        Blender Source Code

        Custom interpolation curve (for use with GP_IPO_CURVEMAP).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__custom_ipo