Class bAction


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

    Class Documentation

    Blender Source Code

    Actions ----------------------------------- Action - reusable F-Curve 'bag' (act)

    This contains F-Curves that may affect settings from more than one ID blocktype and/or datablock (i.e. sub-data linked/used directly to the ID block that the animation data is linked to), but with the restriction that the other unrelated data (i.e. data that is not directly used or linked to by the source ID block).

    It serves as a 'unit' of reusable animation information (i.e. keyframes/motion data), that affects a group of related settings (as defined by the user).

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        -serialisation for relinking.

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__id);
         CPointer<ID> p_id = p.cast(new Class[]{ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 128/160
      • __DNA__FIELD__curves

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

        Field Documentation

        Blender Source Code

        Function-curves (FCurve ).

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__curves);
         CPointer<ListBase> p_curves = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

        public static final long[] __DNA__FIELD__chanbase
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__chanbase);
         CPointer<ListBase> p_chanbase = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'chanbase'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
        Field descriptor (offset) for struct member 'chanbase'.

        Field Documentation

        Blender Source Code

        Legacy data - Action Channels (bActionChannel ) in pre-2.5 animation system.

      • __DNA__FIELD__groups

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

        Field Documentation

        Blender Source Code

        Groups of function-curves (bActionGroup ).

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__groups);
         CPointer<ListBase> p_groups = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Markers local to the Action (used to provide Pose-Libraries).

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__markers);
         CPointer<ListBase> p_markers = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'markers'
        • 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 action.

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__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__active_marker

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

        Field Documentation

        Blender Source Code

        Index of the active marker.

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__active_marker);
         CPointer<Integer> p_active_marker = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'active_marker'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__idroot

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

        Field Documentation

        Blender Source Code

        Type of ID-blocks that action can be assigned to (if 0, will be set to whatever ID first evaluates it).

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD__idroot);
         CPointer<Integer> p_idroot = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'idroot'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         bAction baction = ...;
         CPointer<Object> p = baction.__dna__addressof(bAction.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • bAction

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

        protected bAction​(bAction that)
    • Method Detail

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.

        Field Documentation

        Blender Source Code

        -serialisation for relinking.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.

        Field Documentation

        Blender Source Code

        -serialisation for relinking.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getCurves

        public ListBase getCurves()
                           throws java.io.IOException
        Get method for struct member 'curves'.

        Field Documentation

        Blender Source Code

        Function-curves (FCurve ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curves
      • setCurves

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

        Field Documentation

        Blender Source Code

        Function-curves (FCurve ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curves
      • getChanbase

        public ListBase getChanbase()
                             throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'chanbase'.

        Field Documentation

        Blender Source Code

        Legacy data - Action Channels (bActionChannel ) in pre-2.5 animation system.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__chanbase
      • setChanbase

        public void setChanbase​(ListBase chanbase)
                         throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'chanbase'.

        Field Documentation

        Blender Source Code

        Legacy data - Action Channels (bActionChannel ) in pre-2.5 animation system.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__chanbase
      • getGroups

        public ListBase getGroups()
                           throws java.io.IOException
        Get method for struct member 'groups'.

        Field Documentation

        Blender Source Code

        Groups of function-curves (bActionGroup ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__groups
      • setGroups

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

        Field Documentation

        Blender Source Code

        Groups of function-curves (bActionGroup ).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__groups
      • getMarkers

        public ListBase getMarkers()
                            throws java.io.IOException
        Get method for struct member 'markers'.

        Field Documentation

        Blender Source Code

        Markers local to the Action (used to provide Pose-Libraries).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__markers
      • setMarkers

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

        Field Documentation

        Blender Source Code

        Markers local to the Action (used to provide Pose-Libraries).

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

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

        Field Documentation

        Blender Source Code

        Settings for this action.

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

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

        public int getActive_marker()
                             throws java.io.IOException
        Get method for struct member 'active_marker'.

        Field Documentation

        Blender Source Code

        Index of the active marker.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active_marker
      • setActive_marker

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

        Field Documentation

        Blender Source Code

        Index of the active marker.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active_marker
      • getIdroot

        public int getIdroot()
                      throws java.io.IOException
        Get method for struct member 'idroot'.

        Field Documentation

        Blender Source Code

        Type of ID-blocks that action can be assigned to (if 0, will be set to whatever ID first evaluates it).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__idroot
      • setIdroot

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

        Field Documentation

        Blender Source Code

        Type of ID-blocks that action can be assigned to (if 0, will be set to whatever ID first evaluates it).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__idroot
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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