Class NodeTexSky


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeTexSky nodetexsky = ...;
         CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__base);
         CPointer<NodeTexBase> p_base = p.cast(new Class[]{NodeTexBase.class});
         

        Metadata

        • Field: 'base'
        • Signature: 'NodeTexBase'
        • Actual Size (32bit/64bit): 956/960
      • __DNA__FIELD__sky_model

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

        Pointer Arithmetics

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

         NodeTexSky nodetexsky = ...;
         CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__sky_model);
         CPointer<Integer> p_sky_model = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sky_model'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sun_direction

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

        Pointer Arithmetics

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

         NodeTexSky nodetexsky = ...;
         CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__sun_direction);
         CPointer<CArrayFacade<Float>> p_sun_direction = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'sun_direction'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__turbidity

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

        Pointer Arithmetics

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

         NodeTexSky nodetexsky = ...;
         CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__turbidity);
         CPointer<Float> p_turbidity = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'turbidity'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ground_albedo

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

        Pointer Arithmetics

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

         NodeTexSky nodetexsky = ...;
         CPointer<Object> p = nodetexsky.__dna__addressof(NodeTexSky.__DNA__FIELD__ground_albedo);
         CPointer<Float> p_ground_albedo = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • NodeTexSky

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

        protected NodeTexSky​(NodeTexSky that)
    • Method Detail

      • getBase

        public NodeTexBase getBase()
                            throws java.io.IOException
        Get method for struct member 'base'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base
      • setBase

        public void setBase​(NodeTexBase base)
                     throws java.io.IOException
        Set method for struct member 'base'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base
      • getSky_model

        public int getSky_model()
                         throws java.io.IOException
        Get method for struct member 'sky_model'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sky_model
      • setSky_model

        public void setSky_model​(int sky_model)
                          throws java.io.IOException
        Set method for struct member 'sky_model'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sky_model
      • getSun_direction

        public CArrayFacade<java.lang.Float> getSun_direction()
                                                       throws java.io.IOException
        Get method for struct member 'sun_direction'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sun_direction
      • setSun_direction

        public void setSun_direction​(CArrayFacade<java.lang.Float> sun_direction)
                              throws java.io.IOException
        Set method for struct member 'sun_direction'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sun_direction
      • getTurbidity

        public float getTurbidity()
                           throws java.io.IOException
        Get method for struct member 'turbidity'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__turbidity
      • setTurbidity

        public void setTurbidity​(float turbidity)
                          throws java.io.IOException
        Set method for struct member 'turbidity'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__turbidity
      • getGround_albedo

        public float getGround_albedo()
                               throws java.io.IOException
        Get method for struct member 'ground_albedo'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ground_albedo
      • setGround_albedo

        public void setGround_albedo​(float ground_albedo)
                              throws java.io.IOException
        Set method for struct member 'ground_albedo'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ground_albedo
      • __io__addressof

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