Class AnimOverride


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

    Class Documentation

    Blender Source Code


    Animation Data AnimOverride ---------------------------------- Animation Override (aor)

    This is used to as temporary storage of values which have been changed by the user, but not yet keyframed (thus, would get overwritten by the animation system before the user had a chance to see the changes that were made).

    It is probably not needed for overriding keyframed values in most cases, as those will only get evaluated on frame-change now. That situation may change in future.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         AnimOverride animoverride = ...;
         CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__next);
         CPointer<CPointer<AnimOverride>> p_next = p.cast(new Class[]{CPointer.class, AnimOverride.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'AnimOverride*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         AnimOverride animoverride = ...;
         CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__prev);
         CPointer<CPointer<AnimOverride>> p_prev = p.cast(new Class[]{CPointer.class, AnimOverride.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'AnimOverride*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__rna_path

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

        Field Documentation

        Blender Source Code

        RNA-path to use to resolve data-access.

        Pointer Arithmetics

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

         AnimOverride animoverride = ...;
         CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__rna_path);
         CPointer<CPointer<Byte>> p_rna_path = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'rna_path'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__array_index

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

        Field Documentation

        Blender Source Code

        If applicable, the index of the RNA-array item to get.

        Pointer Arithmetics

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

         AnimOverride animoverride = ...;
         CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__array_index);
         CPointer<Integer> p_array_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'array_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__value

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

        Field Documentation

        Blender Source Code

        Value to override setting with.

        Pointer Arithmetics

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

         AnimOverride animoverride = ...;
         CPointer<Object> p = animoverride.__dna__addressof(AnimOverride.__DNA__FIELD__value);
         CPointer<Float> p_value = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • AnimOverride

        public AnimOverride​(long __address,
                            Block __block,
                            BlockTable __blockTable)
      • AnimOverride

        protected AnimOverride​(AnimOverride that)
    • Method Detail

      • getRna_path

        public CPointer<java.lang.Byte> getRna_path()
                                             throws java.io.IOException
        Get method for struct member 'rna_path'.

        Field Documentation

        Blender Source Code

        RNA-path to use to resolve data-access.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rna_path
      • setRna_path

        public void setRna_path​(CPointer<java.lang.Byte> rna_path)
                         throws java.io.IOException
        Set method for struct member 'rna_path'.

        Field Documentation

        Blender Source Code

        RNA-path to use to resolve data-access.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rna_path
      • getArray_index

        public int getArray_index()
                           throws java.io.IOException
        Get method for struct member 'array_index'.

        Field Documentation

        Blender Source Code

        If applicable, the index of the RNA-array item to get.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__array_index
      • setArray_index

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

        Field Documentation

        Blender Source Code

        If applicable, the index of the RNA-array item to get.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__array_index
      • getValue

        public float getValue()
                       throws java.io.IOException
        Get method for struct member 'value'.

        Field Documentation

        Blender Source Code

        Value to override setting with.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value
      • setValue

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

        Field Documentation

        Blender Source Code

        Value to override setting with.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value
      • __io__addressof

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