Class ScrGlobalAreaData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Global areas have a non-dynamic size. That means, changing the window size doesn't affect their size at all. However, they can still be 'collapsed', by changing this value. Ignores DPI (ED_area_global_size_y and winx/winy don't)

        Pointer Arithmetics

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

         ScrGlobalAreaData scrglobalareadata = ...;
         CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__cur_fixed_height);
         CPointer<Short> p_cur_fixed_height = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'cur_fixed_height'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__size_min

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

        Field Documentation

        Blender Source Code

        For global areas, this is the min and max size they can use depending on if they are 'collapsed' or not.

        Pointer Arithmetics

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

         ScrGlobalAreaData scrglobalareadata = ...;
         CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__size_min);
         CPointer<Short> p_size_min = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'size_min'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__size_max

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

        Pointer Arithmetics

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

         ScrGlobalAreaData scrglobalareadata = ...;
         CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__size_max);
         CPointer<Short> p_size_max = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'size_max'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__align

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

        Field Documentation

        Blender Source Code

        GlobalAreaAlign.

        Pointer Arithmetics

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

         ScrGlobalAreaData scrglobalareadata = ...;
         CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__align);
         CPointer<Short> p_align = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'align'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        GlobalAreaFlag.

        Pointer Arithmetics

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

         ScrGlobalAreaData scrglobalareadata = ...;
         CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__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___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:

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

        Metadata

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

      • ScrGlobalAreaData

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

      • getCur_fixed_height

        public short getCur_fixed_height()
                                  throws java.io.IOException
        Get method for struct member 'cur_fixed_height'.

        Field Documentation

        Blender Source Code

        Global areas have a non-dynamic size. That means, changing the window size doesn't affect their size at all. However, they can still be 'collapsed', by changing this value. Ignores DPI (ED_area_global_size_y and winx/winy don't)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cur_fixed_height
      • setCur_fixed_height

        public void setCur_fixed_height​(short cur_fixed_height)
                                 throws java.io.IOException
        Set method for struct member 'cur_fixed_height'.

        Field Documentation

        Blender Source Code

        Global areas have a non-dynamic size. That means, changing the window size doesn't affect their size at all. However, they can still be 'collapsed', by changing this value. Ignores DPI (ED_area_global_size_y and winx/winy don't)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cur_fixed_height
      • getSize_min

        public short getSize_min()
                          throws java.io.IOException
        Get method for struct member 'size_min'.

        Field Documentation

        Blender Source Code

        For global areas, this is the min and max size they can use depending on if they are 'collapsed' or not.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_min
      • setSize_min

        public void setSize_min​(short size_min)
                         throws java.io.IOException
        Set method for struct member 'size_min'.

        Field Documentation

        Blender Source Code

        For global areas, this is the min and max size they can use depending on if they are 'collapsed' or not.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_min
      • getSize_max

        public short getSize_max()
                          throws java.io.IOException
        Get method for struct member 'size_max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_max
      • setSize_max

        public void setSize_max​(short size_max)
                         throws java.io.IOException
        Set method for struct member 'size_max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_max
      • getAlign

        public short getAlign()
                       throws java.io.IOException
        Get method for struct member 'align'.

        Field Documentation

        Blender Source Code

        GlobalAreaAlign.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__align
      • setAlign

        public void setAlign​(short align)
                      throws java.io.IOException
        Set method for struct member 'align'.

        Field Documentation

        Blender Source Code

        GlobalAreaAlign.

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

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

        Field Documentation

        Blender Source Code

        GlobalAreaFlag.

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

        Field Documentation

        Blender Source Code

        GlobalAreaFlag.

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