Class NodeInputColor


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

      • NodeInputColor

        public NodeInputColor​(long __address,
                              Block __block,
                              BlockTable __blockTable)
    • 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<NodeInputColor> __io__addressof()
        Instantiates a pointer on this instance.