Class ThemeWireColor


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

    Class Documentation

    Blender Source Code

    set of colors for use as a custom color set for Objects/Bones wire drawing

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         ThemeWireColor themewirecolor = ...;
         CPointer<Object> p = themewirecolor.__dna__addressof(ThemeWireColor.__DNA__FIELD__solid);
         CPointer<CArrayFacade<Byte>> p_solid = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         ThemeWireColor themewirecolor = ...;
         CPointer<Object> p = themewirecolor.__dna__addressof(ThemeWireColor.__DNA__FIELD__select);
         CPointer<CArrayFacade<Byte>> p_select = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         ThemeWireColor themewirecolor = ...;
         CPointer<Object> p = themewirecolor.__dna__addressof(ThemeWireColor.__DNA__FIELD__active);
         CPointer<CArrayFacade<Byte>> p_active = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        eWireColor_Flags .

        Pointer Arithmetics

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

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

         ThemeWireColor themewirecolor = ...;
         CPointer<Object> p = themewirecolor.__dna__addressof(ThemeWireColor.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • ThemeWireColor

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

      • getSolid

        public CArrayFacade<java.lang.Byte> getSolid()
                                              throws java.io.IOException
        Get method for struct member 'solid'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__solid
      • setSolid

        public void setSolid​(CArrayFacade<java.lang.Byte> solid)
                      throws java.io.IOException
        Set method for struct member 'solid'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__solid
      • getSelect

        public CArrayFacade<java.lang.Byte> getSelect()
                                               throws java.io.IOException
        Get method for struct member 'select'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__select
      • setSelect

        public void setSelect​(CArrayFacade<java.lang.Byte> select)
                       throws java.io.IOException
        Set method for struct member 'select'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__select
      • getActive

        public CArrayFacade<java.lang.Byte> getActive()
                                               throws java.io.IOException
        Get method for struct member 'active'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active
      • setActive

        public void setActive​(CArrayFacade<java.lang.Byte> active)
                       throws java.io.IOException
        Set method for struct member 'active'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active
      • getFlag

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

        Field Documentation

        Blender Source Code

        eWireColor_Flags .

        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

        eWireColor_Flags .

        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
      • __io__addressof

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