Class SpaceScript


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

    Class Documentation

    Blender Source Code

    Script View - Obsolete (pre 2.5)

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__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:

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__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:

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__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:

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__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:

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__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:

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__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__script

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

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Pointer Arithmetics

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

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__DNA__FIELD__script);
         CPointer<CPointer<Script>> p_script = p.cast(new Class[]{CPointer.class, Script.class});
         

        Metadata

        • Field: 'script'
        • Signature: 'Script*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flags

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

        Pointer Arithmetics

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

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__DNA__FIELD__flags);
         CPointer<Short> p_flags = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flags'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__menunr

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

        Pointer Arithmetics

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

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__DNA__FIELD__menunr);
         CPointer<Short> p_menunr = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'menunr'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

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

        Metadata

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

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

        Pointer Arithmetics

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

         SpaceScript spacescript = ...;
         CPointer<Object> p = spacescript.__dna__addressof(SpaceScript.__DNA__FIELD__but_refs);
         CPointer<CPointer<Object>> p_but_refs = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'but_refs'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • SpaceScript

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

        protected SpaceScript​(SpaceScript 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
      • getScript

        public CPointer<Script> getScript()
                                   throws java.io.IOException
        Get method for struct member 'script'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__script
      • setScript

        public void setScript​(CPointer<Script> script)
                       throws java.io.IOException
        Set method for struct member 'script'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__script
      • getFlags

        public short getFlags()
                       throws java.io.IOException
        Get method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • setFlags

        public void setFlags​(short flags)
                      throws java.io.IOException
        Set method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • getMenunr

        public short getMenunr()
                        throws java.io.IOException
        Get method for struct member 'menunr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__menunr
      • setMenunr

        public void setMenunr​(short menunr)
                       throws java.io.IOException
        Set method for struct member 'menunr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__menunr
      • 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
      • getBut_refs

        public CPointer<java.lang.Object> getBut_refs()
                                               throws java.io.IOException
        Get method for struct member 'but_refs'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__but_refs
      • setBut_refs

        public void setBut_refs​(CPointer<java.lang.Object> but_refs)
                         throws java.io.IOException
        Set method for struct member 'but_refs'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__but_refs
      • __io__addressof

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