Class MPropCol


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         MPropCol mpropcol = ...;
         CPointer<Object> p = mpropcol.__dna__addressof(MPropCol.__DNA__FIELD__color);
         CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

      • MPropCol

        public MPropCol​(long __address,
                        Block __block,
                        BlockTable __blockTable)
      • MPropCol

        protected MPropCol​(MPropCol that)
    • Method Detail

      • getColor

        public CArrayFacade<java.lang.Float> getColor()
                                               throws java.io.IOException
        Get method for struct member 'color'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • setColor

        public void setColor​(CArrayFacade<java.lang.Float> color)
                      throws java.io.IOException
        Set method for struct member 'color'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • __io__addressof

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