Class MaskSpaceInfo


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        **** mask editing ****

        Pointer Arithmetics

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

         MaskSpaceInfo maskspaceinfo = ...;
         CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD__mask);
         CPointer<CPointer<Mask>> p_mask = p.cast(new Class[]{CPointer.class, Mask.class});
         

        Metadata

        • Field: 'mask'
        • Signature: 'Mask*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__draw_flag

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

        Field Documentation

        Blender Source Code

        draw options

        Pointer Arithmetics

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

         MaskSpaceInfo maskspaceinfo = ...;
         CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD__draw_flag);
         CPointer<Byte> p_draw_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'draw_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__draw_type

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

        Pointer Arithmetics

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

         MaskSpaceInfo maskspaceinfo = ...;
         CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD__draw_type);
         CPointer<Byte> p_draw_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'draw_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__overlay_mode

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

        Pointer Arithmetics

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

         MaskSpaceInfo maskspaceinfo = ...;
         CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD__overlay_mode);
         CPointer<Byte> p_overlay_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'overlay_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad3

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

        Pointer Arithmetics

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

         MaskSpaceInfo maskspaceinfo = ...;
         CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD___pad3);
         CPointer<CArrayFacade<Byte>> p__pad3 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • MaskSpaceInfo

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

      • getMask

        public CPointer<Mask> getMask()
                               throws java.io.IOException
        Get method for struct member 'mask'.

        Field Documentation

        Blender Source Code

        **** mask editing ****

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask
      • setMask

        public void setMask​(CPointer<Mask> mask)
                     throws java.io.IOException
        Set method for struct member 'mask'.

        Field Documentation

        Blender Source Code

        **** mask editing ****

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mask
      • getDraw_flag

        public byte getDraw_flag()
                          throws java.io.IOException
        Get method for struct member 'draw_flag'.

        Field Documentation

        Blender Source Code

        draw options

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_flag
      • setDraw_flag

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

        Field Documentation

        Blender Source Code

        draw options

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_flag
      • getDraw_type

        public byte getDraw_type()
                          throws java.io.IOException
        Get method for struct member 'draw_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_type
      • setDraw_type

        public void setDraw_type​(byte draw_type)
                          throws java.io.IOException
        Set method for struct member 'draw_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_type
      • getOverlay_mode

        public byte getOverlay_mode()
                             throws java.io.IOException
        Get method for struct member 'overlay_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__overlay_mode
      • setOverlay_mode

        public void setOverlay_mode​(byte overlay_mode)
                             throws java.io.IOException
        Set method for struct member 'overlay_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__overlay_mode
      • get_pad3

        public CArrayFacade<java.lang.Byte> get_pad3()
                                              throws java.io.IOException
        Get method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • set_pad3

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

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