Class ARegion_Runtime


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Panel category to use between 'layout' and 'draw'.

        Pointer Arithmetics

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

         ARegion_Runtime aregion_runtime = ...;
         CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__category);
         CPointer<CPointer<Byte>> p_category = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'category'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__visible_rect

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

        Field Documentation

        Blender Source Code

        The visible part of the region, use with region overlap not to draw on top of the overlapping regions.

        Lazy initialize, zero'd when unset, relative to ARegion.getWinrct() x/y min.

        Pointer Arithmetics

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

         ARegion_Runtime aregion_runtime = ...;
         CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__visible_rect);
         CPointer<rcti> p_visible_rect = p.cast(new Class[]{rcti.class});
         

        Metadata

        • Field: 'visible_rect'
        • Signature: 'rcti'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__offset_x

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

        Field Documentation

        Blender Source Code

        The offset needed to not overlap with window scrollbars. Only used by HUD regions for now.

        Pointer Arithmetics

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

         ARegion_Runtime aregion_runtime = ...;
         CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__offset_x);
         CPointer<Integer> p_offset_x = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'offset_x'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__offset_y

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

        Pointer Arithmetics

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

         ARegion_Runtime aregion_runtime = ...;
         CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__offset_y);
         CPointer<Integer> p_offset_y = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'offset_y'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • ARegion_Runtime

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

      • getCategory

        public CPointer<java.lang.Byte> getCategory()
                                             throws java.io.IOException
        Get method for struct member 'category'.

        Field Documentation

        Blender Source Code

        Panel category to use between 'layout' and 'draw'.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__category
      • setCategory

        public void setCategory​(CPointer<java.lang.Byte> category)
                         throws java.io.IOException
        Set method for struct member 'category'.

        Field Documentation

        Blender Source Code

        Panel category to use between 'layout' and 'draw'.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__category
      • getVisible_rect

        public rcti getVisible_rect()
                             throws java.io.IOException
        Get method for struct member 'visible_rect'.

        Field Documentation

        Blender Source Code

        The visible part of the region, use with region overlap not to draw on top of the overlapping regions.

        Lazy initialize, zero'd when unset, relative to ARegion.getWinrct() x/y min.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__visible_rect
      • setVisible_rect

        public void setVisible_rect​(rcti visible_rect)
                             throws java.io.IOException
        Set method for struct member 'visible_rect'.

        Field Documentation

        Blender Source Code

        The visible part of the region, use with region overlap not to draw on top of the overlapping regions.

        Lazy initialize, zero'd when unset, relative to ARegion.getWinrct() x/y min.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__visible_rect
      • getOffset_x

        public int getOffset_x()
                        throws java.io.IOException
        Get method for struct member 'offset_x'.

        Field Documentation

        Blender Source Code

        The offset needed to not overlap with window scrollbars. Only used by HUD regions for now.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset_x
      • setOffset_x

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

        Field Documentation

        Blender Source Code

        The offset needed to not overlap with window scrollbars. Only used by HUD regions for now.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset_x
      • getOffset_y

        public int getOffset_y()
                        throws java.io.IOException
        Get method for struct member 'offset_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset_y
      • setOffset_y

        public void setOffset_y​(int offset_y)
                         throws java.io.IOException
        Set method for struct member 'offset_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset_y