Class NlaTrack


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

    Class Documentation

    Blender Source Code

    NLA Tracks ---------------------------------- NLA Track (nlt)

    A track groups a bunch of 'strips', which should form a continuous set of motion, on top of which other such groups can be layered. This should allow for animators to work in a non-destructive manner, layering tweaks, etc. over 'rough' blocks of their work.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

        • Field: 'next'
        • Signature: 'NlaTrack*'
        • 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:

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

        Metadata

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

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

        Field Documentation

        Blender Python API

        (read-only) NLA Strips on this NLA-track

        Blender Source Code

        BActionStrips in this track.

        Pointer Arithmetics

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

         NlaTrack nlatrack = ...;
         CPointer<Object> p = nlatrack.__dna__addressof(NlaTrack.__DNA__FIELD__strips);
         CPointer<ListBase> p_strips = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'strips'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Settings for this track.

        Pointer Arithmetics

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

         NlaTrack nlatrack = ...;
         CPointer<Object> p = nlatrack.__dna__addressof(NlaTrack.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__index

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

        Field Documentation

        Blender Source Code

        Index of the track in the stack

        Note

        not really useful, but we need a '_pad' var anyways!

        not really useful, but we need a '_pad' var anyways!

        Pointer Arithmetics

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

         NlaTrack nlatrack = ...;
         CPointer<Object> p = nlatrack.__dna__addressof(NlaTrack.__DNA__FIELD__index);
         CPointer<Integer> p_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__name

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

        Field Documentation

        Blender Source Code

        Short user-description of this track - MAX_ID_NAME-2.

        Pointer Arithmetics

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

         NlaTrack nlatrack = ...;
         CPointer<Object> p = nlatrack.__dna__addressof(NlaTrack.__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
    • Constructor Detail

      • NlaTrack

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

        protected NlaTrack​(NlaTrack that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<NlaTrack> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<NlaTrack> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getStrips

        public ListBase getStrips()
                           throws java.io.IOException
        Get method for struct member 'strips'.

        Field Documentation

        Blender Python API

        (read-only) NLA Strips on this NLA-track

        Blender Source Code

        BActionStrips in this track.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__strips
      • setStrips

        public void setStrips​(ListBase strips)
                       throws java.io.IOException
        Set method for struct member 'strips'.

        Field Documentation

        Blender Python API

        (read-only) NLA Strips on this NLA-track

        Blender Source Code

        BActionStrips in this track.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__strips
      • getFlag

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

        Field Documentation

        Blender Source Code

        Settings for this track.

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

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

        Field Documentation

        Blender Source Code

        Settings for this track.

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

        public int getIndex()
                     throws java.io.IOException
        Get method for struct member 'index'.

        Field Documentation

        Blender Source Code

        Index of the track in the stack

        Note

        not really useful, but we need a '_pad' var anyways!

        not really useful, but we need a '_pad' var anyways!

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__index
      • setIndex

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

        Field Documentation

        Blender Source Code

        Index of the track in the stack

        Note

        not really useful, but we need a '_pad' var anyways!

        not really useful, but we need a '_pad' var anyways!

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__index
      • getName

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

        Field Documentation

        Blender Source Code

        Short user-description of this track - MAX_ID_NAME-2.

        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

        Short user-description of this track - MAX_ID_NAME-2.

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

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