Class SpaceAction


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

    Class Documentation

    Blender Source Code

    Action Editor Space. This is defined here instead of in DNA_space_types.h

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__regionbase);
         CPointer<ListBase> p_regionbase = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__spacetype);
         CPointer<Byte> p_spacetype = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'spacetype'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__link_flag

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

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__link_flag);
         CPointer<Byte> p_link_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'link_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD__v2d

        public static final long[] __DNA__FIELD__v2d
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__v2d);
         CPointer<View2D> p_v2d = p.cast(new Class[]{View2D.class});
         

        Metadata

        • Field: 'v2d'
        • Signature: 'View2D'
        • Actual Size (32bit/64bit): 144/152
        Field descriptor (offset) for struct member 'v2d'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header. Copied to region.

      • __DNA__FIELD__action

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

        Field Documentation

        Blender Source Code

        The currently active action.

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__action);
         CPointer<CPointer<bAction>> p_action = p.cast(new Class[]{CPointer.class, bAction.class});
         

        Metadata

        • Field: 'action'
        • Signature: 'bAction*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__ads

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

        Field Documentation

        Blender Source Code

        The currently active context (when not showing action).

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__ads);
         CPointer<bDopeSheet> p_ads = p.cast(new Class[]{bDopeSheet.class});
         

        Metadata

        • Field: 'ads'
        • Signature: 'bDopeSheet'
        • Actual Size (32bit/64bit): 96/112
      • __DNA__FIELD__timeslide

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

        Field Documentation

        Blender Source Code

        For Time-Slide transform mode drawing - current frame?

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__timeslide);
         CPointer<Float> p_timeslide = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'timeslide'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__mode

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

        Field Documentation

        Blender Source Code

        Editing context

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__mode);
         CPointer<Byte> p_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__mode_prev

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

        Field Documentation

        Blender Source Code

        Storage for sub-space types.

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__mode_prev);
         CPointer<Byte> p_mode_prev = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'mode_prev'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__autosnap

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

        Field Documentation

        Blender Source Code

        Automatic keyframe snapping mode.

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__autosnap);
         CPointer<Byte> p_autosnap = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'autosnap'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__cache_display

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

        Field Documentation

        Blender Source Code

        (eTimeline_Cache_Flag).

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__cache_display);
         CPointer<Byte> p_cache_display = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'cache_display'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad1

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

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD__runtime

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

        Pointer Arithmetics

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

         SpaceAction spaceaction = ...;
         CPointer<Object> p = spaceaction.__dna__addressof(SpaceAction.__DNA__FIELD__runtime);
         CPointer<SpaceAction_Runtime> p_runtime = p.cast(new Class[]{SpaceAction_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'SpaceAction_Runtime'
        • Actual Size (32bit/64bit): 8/8
    • Constructor Detail

      • SpaceAction

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

        protected SpaceAction​(SpaceAction that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<SpaceLink> 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<SpaceLink> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getRegionbase

        public ListBase getRegionbase()
                               throws java.io.IOException
        Get method for struct member 'regionbase'.

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionbase
      • setRegionbase

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

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionbase
      • getSpacetype

        public byte getSpacetype()
                          throws java.io.IOException
        Get method for struct member 'spacetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacetype
      • setSpacetype

        public void setSpacetype​(byte spacetype)
                          throws java.io.IOException
        Set method for struct member 'spacetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacetype
      • getLink_flag

        public byte getLink_flag()
                          throws java.io.IOException
        Get method for struct member 'link_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__link_flag
      • setLink_flag

        public void setLink_flag​(byte link_flag)
                          throws java.io.IOException
        Set method for struct member 'link_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__link_flag
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getV2d

        public View2D getV2d()
                      throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'v2d'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header. Copied to region.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__v2d
      • setV2d

        public void setV2d​(View2D v2d)
                    throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'v2d'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header. Copied to region.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__v2d
      • getAction

        public CPointer<bAction> getAction()
                                    throws java.io.IOException
        Get method for struct member 'action'.

        Field Documentation

        Blender Source Code

        The currently active action.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__action
      • setAction

        public void setAction​(CPointer<bAction> action)
                       throws java.io.IOException
        Set method for struct member 'action'.

        Field Documentation

        Blender Source Code

        The currently active action.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__action
      • getAds

        public bDopeSheet getAds()
                          throws java.io.IOException
        Get method for struct member 'ads'.

        Field Documentation

        Blender Source Code

        The currently active context (when not showing action).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ads
      • setAds

        public void setAds​(bDopeSheet ads)
                    throws java.io.IOException
        Set method for struct member 'ads'.

        Field Documentation

        Blender Source Code

        The currently active context (when not showing action).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ads
      • getTimeslide

        public float getTimeslide()
                           throws java.io.IOException
        Get method for struct member 'timeslide'.

        Field Documentation

        Blender Source Code

        For Time-Slide transform mode drawing - current frame?

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__timeslide
      • setTimeslide

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

        Field Documentation

        Blender Source Code

        For Time-Slide transform mode drawing - current frame?

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

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getMode

        public byte getMode()
                     throws java.io.IOException
        Get method for struct member 'mode'.

        Field Documentation

        Blender Source Code

        Editing context

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

        public void setMode​(byte mode)
                     throws java.io.IOException
        Set method for struct member 'mode'.

        Field Documentation

        Blender Source Code

        Editing context

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getMode_prev

        public byte getMode_prev()
                          throws java.io.IOException
        Get method for struct member 'mode_prev'.

        Field Documentation

        Blender Source Code

        Storage for sub-space types.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode_prev
      • setMode_prev

        public void setMode_prev​(byte mode_prev)
                          throws java.io.IOException
        Set method for struct member 'mode_prev'.

        Field Documentation

        Blender Source Code

        Storage for sub-space types.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode_prev
      • getAutosnap

        public byte getAutosnap()
                         throws java.io.IOException
        Get method for struct member 'autosnap'.

        Field Documentation

        Blender Source Code

        Automatic keyframe snapping mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__autosnap
      • setAutosnap

        public void setAutosnap​(byte autosnap)
                         throws java.io.IOException
        Set method for struct member 'autosnap'.

        Field Documentation

        Blender Source Code

        Automatic keyframe snapping mode.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__autosnap
      • getCache_display

        public byte getCache_display()
                              throws java.io.IOException
        Get method for struct member 'cache_display'.

        Field Documentation

        Blender Source Code

        (eTimeline_Cache_Flag).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cache_display
      • setCache_display

        public void setCache_display​(byte cache_display)
                              throws java.io.IOException
        Set method for struct member 'cache_display'.

        Field Documentation

        Blender Source Code

        (eTimeline_Cache_Flag).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cache_display
      • get_pad1

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

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

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