Class ThemeStripColor


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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

        Strip Color

        Pointer Arithmetics

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

         ThemeStripColor themestripcolor = ...;
         CPointer<Object> p = themestripcolor.__dna__addressof(ThemeStripColor.__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

      • ThemeStripColor

        public ThemeStripColor​(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

        Strip Color
        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

        Strip Color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color