Class NodeInputVector


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeInputVector nodeinputvector = ...;
         CPointer<Object> p = nodeinputvector.__dna__addressof(NodeInputVector.__DNA__FIELD__vector);
         CPointer<CArrayFacade<Float>> p_vector = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'vector'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
    • Constructor Detail

      • NodeInputVector

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

      • getVector

        public CArrayFacade<java.lang.Float> getVector()
                                                throws java.io.IOException
        Get method for struct member 'vector'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vector
      • setVector

        public void setVector​(CArrayFacade<java.lang.Float> vector)
                       throws java.io.IOException
        Set method for struct member 'vector'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vector