Class NodeSunBeams


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeSunBeams nodesunbeams = ...;
         CPointer<Object> p = nodesunbeams.__dna__addressof(NodeSunBeams.__DNA__FIELD__source);
         CPointer<CArrayFacade<Float>> p_source = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'source'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__ray_length

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

        Pointer Arithmetics

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

         NodeSunBeams nodesunbeams = ...;
         CPointer<Object> p = nodesunbeams.__dna__addressof(NodeSunBeams.__DNA__FIELD__ray_length);
         CPointer<Float> p_ray_length = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'ray_length'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • NodeSunBeams

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

        protected NodeSunBeams​(NodeSunBeams that)
    • Method Detail

      • getSource

        public CArrayFacade<java.lang.Float> getSource()
                                                throws java.io.IOException
        Get method for struct member 'source'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__source
      • setSource

        public void setSource​(CArrayFacade<java.lang.Float> source)
                       throws java.io.IOException
        Set method for struct member 'source'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__source
      • getRay_length

        public float getRay_length()
                            throws java.io.IOException
        Get method for struct member 'ray_length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ray_length
      • setRay_length

        public void setRay_length​(float ray_length)
                           throws java.io.IOException
        Set method for struct member 'ray_length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ray_length
      • __io__addressof

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