Class ThemeCollectionColor


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Collection Color Tag

        Pointer Arithmetics

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

         ThemeCollectionColor themecollectioncolor = ...;
         CPointer<Object> p = themecollectioncolor.__dna__addressof(ThemeCollectionColor.__DNA__FIELD__color);
         CPointer<CArrayFacade<Byte>> p_color = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • ThemeCollectionColor

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

      • getColor

        public CArrayFacade<java.lang.Byte> getColor()
                                              throws java.io.IOException
        Get method for struct member 'color'.

        Field Documentation

        Blender Python API

        Collection Color Tag
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • setColor

        public void setColor​(CArrayFacade<java.lang.Byte> color)
                      throws java.io.IOException
        Set method for struct member 'color'.

        Field Documentation

        Blender Python API

        Collection Color Tag
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color