Class bActionChannel


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

    Class Documentation

    Blender Source Code


    Legacy Data WARNING: Action Channels are now deprecated... they were part of the old animation system! (ONLY USED FOR DO_VERSIONS...)

    Action Channels belong to Actions. They are linked with an IPO block, and can also own Constraint Channels in certain situations.

    Action-Channels can only belong to one group at a time, but they still live the Action's list of achans (to preserve backwards compatibility, and also minimize the code that would need to be recoded). Grouped achans are stored at the start of the list, according to the position of the group in the list, and their position within the group.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Action Group this Action Channel belongs to.

        Pointer Arithmetics

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

         bActionChannel bactionchannel = ...;
         CPointer<Object> p = bactionchannel.__dna__addressof(bActionChannel.__DNA__FIELD__grp);
         CPointer<CPointer<bActionGroup>> p_grp = p.cast(new Class[]{CPointer.class, bActionGroup.class});
         

        Metadata

        • Field: 'grp'
        • Signature: 'bActionGroup*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__ipo

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

        Field Documentation

        Blender Source Code

        IPO block this action channel references.

        Pointer Arithmetics

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

         bActionChannel bactionchannel = ...;
         CPointer<Object> p = bactionchannel.__dna__addressof(bActionChannel.__DNA__FIELD__ipo);
         CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
         

        Metadata

        • Field: 'ipo'
        • Signature: 'Ipo*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__constraintChannels

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

        Field Documentation

        Blender Source Code

        Constraint Channels (when Action Channel represents an Object or Bone ).

        Pointer Arithmetics

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

         bActionChannel bactionchannel = ...;
         CPointer<Object> p = bactionchannel.__dna__addressof(bActionChannel.__DNA__FIELD__constraintChannels);
         CPointer<ListBase> p_constraintChannels = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'constraintChannels'
        • 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 accessed via bitmapping.

        Pointer Arithmetics

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

         bActionChannel bactionchannel = ...;
         CPointer<Object> p = bactionchannel.__dna__addressof(bActionChannel.__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__name

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

        Field Documentation

        Blender Source Code

        Channel name, MAX_NAME.

        Pointer Arithmetics

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

         bActionChannel bactionchannel = ...;
         CPointer<Object> p = bactionchannel.__dna__addressof(bActionChannel.__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
      • __DNA__FIELD__temp

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

        Field Documentation

        Blender Source Code

        Temporary setting - may be used to indicate group that channel belongs to during syncing.

        Pointer Arithmetics

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

         bActionChannel bactionchannel = ...;
         CPointer<Object> p = bactionchannel.__dna__addressof(bActionChannel.__DNA__FIELD__temp);
         CPointer<Integer> p_temp = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • bActionChannel

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

      • getGrp

        public CPointer<bActionGroup> getGrp()
                                      throws java.io.IOException
        Get method for struct member 'grp'.

        Field Documentation

        Blender Source Code

        Action Group this Action Channel belongs to.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grp
      • setGrp

        public void setGrp​(CPointer<bActionGroup> grp)
                    throws java.io.IOException
        Set method for struct member 'grp'.

        Field Documentation

        Blender Source Code

        Action Group this Action Channel belongs to.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grp
      • getIpo

        public CPointer<Ipo> getIpo()
                             throws java.io.IOException
        Get method for struct member 'ipo'.

        Field Documentation

        Blender Source Code

        IPO block this action channel references.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ipo
      • setIpo

        public void setIpo​(CPointer<Ipo> ipo)
                    throws java.io.IOException
        Set method for struct member 'ipo'.

        Field Documentation

        Blender Source Code

        IPO block this action channel references.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ipo
      • getConstraintChannels

        public ListBase getConstraintChannels()
                                       throws java.io.IOException
        Get method for struct member 'constraintChannels'.

        Field Documentation

        Blender Source Code

        Constraint Channels (when Action Channel represents an Object or Bone ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__constraintChannels
      • setConstraintChannels

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

        Field Documentation

        Blender Source Code

        Constraint Channels (when Action Channel represents an Object or Bone ).

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

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

        Field Documentation

        Blender Source Code

        Settings accessed via bitmapping.

        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 accessed via bitmapping.

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

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

        Field Documentation

        Blender Source Code

        Channel name, MAX_NAME.

        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

        Channel name, MAX_NAME.

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

        public int getTemp()
                    throws java.io.IOException
        Get method for struct member 'temp'.

        Field Documentation

        Blender Source Code

        Temporary setting - may be used to indicate group that channel belongs to during syncing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__temp
      • setTemp

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

        Field Documentation

        Blender Source Code

        Temporary setting - may be used to indicate group that channel belongs to during syncing.

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

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