Class FMod_Envelope


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

    Class Documentation

    Blender Source Code

    envelope-like adjustment to values (for fade in/out)

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Data-points defining envelope to apply (array).

        Pointer Arithmetics

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

         FMod_Envelope fmod_envelope = ...;
         CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__data);
         CPointer<CPointer<FCM_EnvelopeData>> p_data = p.cast(new Class[]{CPointer.class, FCM_EnvelopeData.class});
         

        Metadata

        • Field: 'data'
        • Signature: 'FCM_EnvelopeData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__totvert

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

        Field Documentation

        Blender Source Code

        Number of envelope points.

        Pointer Arithmetics

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

         FMod_Envelope fmod_envelope = ...;
         CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__totvert);
         CPointer<Integer> p_totvert = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totvert'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__midval

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

        Field Documentation

        Blender Source Code

        Value that envelope's influence is centered around / based on.

        Pointer Arithmetics

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

         FMod_Envelope fmod_envelope = ...;
         CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__midval);
         CPointer<Float> p_midval = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'midval'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__min

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

        Field Documentation

        Blender Source Code

        Distances from 'middle-value' for 1:1 envelope influence.

        Pointer Arithmetics

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

         FMod_Envelope fmod_envelope = ...;
         CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__min);
         CPointer<Float> p_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'min'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max

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

        Pointer Arithmetics

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

         FMod_Envelope fmod_envelope = ...;
         CPointer<Object> p = fmod_envelope.__dna__addressof(FMod_Envelope.__DNA__FIELD__max);
         CPointer<Float> p_max = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • FMod_Envelope

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

      • getData

        public CPointer<FCM_EnvelopeData> getData()
                                           throws java.io.IOException
        Get method for struct member 'data'.

        Field Documentation

        Blender Source Code

        Data-points defining envelope to apply (array).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • setData

        public void setData​(CPointer<FCM_EnvelopeData> data)
                     throws java.io.IOException
        Set method for struct member 'data'.

        Field Documentation

        Blender Source Code

        Data-points defining envelope to apply (array).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • getTotvert

        public int getTotvert()
                       throws java.io.IOException
        Get method for struct member 'totvert'.

        Field Documentation

        Blender Source Code

        Number of envelope points.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totvert
      • setTotvert

        public void setTotvert​(int totvert)
                        throws java.io.IOException
        Set method for struct member 'totvert'.

        Field Documentation

        Blender Source Code

        Number of envelope points.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totvert
      • getMidval

        public float getMidval()
                        throws java.io.IOException
        Get method for struct member 'midval'.

        Field Documentation

        Blender Source Code

        Value that envelope's influence is centered around / based on.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__midval
      • setMidval

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

        Field Documentation

        Blender Source Code

        Value that envelope's influence is centered around / based on.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__midval
      • getMin

        public float getMin()
                     throws java.io.IOException
        Get method for struct member 'min'.

        Field Documentation

        Blender Source Code

        Distances from 'middle-value' for 1:1 envelope influence.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • setMin

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

        Field Documentation

        Blender Source Code

        Distances from 'middle-value' for 1:1 envelope influence.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • getMax

        public float getMax()
                     throws java.io.IOException
        Get method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • setMax

        public void setMax​(float max)
                    throws java.io.IOException
        Set method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • __io__addressof

        public CPointer<FMod_Envelope> __io__addressof()
        Instantiates a pointer on this instance.