Class UserDef_SpaceData


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

    Class Documentation

    Blender Source Code

    Store UI data here instead of the space since the space is typically a window which is freed.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         UserDef_SpaceData userdef_spacedata = ...;
         CPointer<Object> p = userdef_spacedata.__dna__addressof(UserDef_SpaceData.__DNA__FIELD__section_active);
         CPointer<Byte> p_section_active = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'section_active'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        eUserPref_SpaceData_Flag UI options.

        Pointer Arithmetics

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

         UserDef_SpaceData userdef_spacedata = ...;
         CPointer<Object> p = userdef_spacedata.__dna__addressof(UserDef_SpaceData.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

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

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

      • UserDef_SpaceData

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

      • getSection_active

        public byte getSection_active()
                               throws java.io.IOException
        Get method for struct member 'section_active'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__section_active
      • setSection_active

        public void setSection_active​(byte section_active)
                               throws java.io.IOException
        Set method for struct member 'section_active'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__section_active
      • getFlag

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

        Field Documentation

        Blender Source Code

        eUserPref_SpaceData_Flag UI options.

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

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

        Field Documentation

        Blender Source Code

        eUserPref_SpaceData_Flag UI options.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__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