Class NodeHueSat


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

    Class Documentation

    Blender Source Code

    Note

    Only for do-version code.

    Only for do-version code.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeHueSat nodehuesat = ...;
         CPointer<Object> p = nodehuesat.__dna__addressof(NodeHueSat.__DNA__FIELD__hue);
         CPointer<Float> p_hue = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'hue'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sat

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

        Pointer Arithmetics

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

         NodeHueSat nodehuesat = ...;
         CPointer<Object> p = nodehuesat.__dna__addressof(NodeHueSat.__DNA__FIELD__sat);
         CPointer<Float> p_sat = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'sat'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__val

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

        Pointer Arithmetics

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

         NodeHueSat nodehuesat = ...;
         CPointer<Object> p = nodehuesat.__dna__addressof(NodeHueSat.__DNA__FIELD__val);
         CPointer<Float> p_val = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • NodeHueSat

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

        protected NodeHueSat​(NodeHueSat that)
    • Method Detail

      • getHue

        public float getHue()
                     throws java.io.IOException
        Get method for struct member 'hue'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hue
      • setHue

        public void setHue​(float hue)
                    throws java.io.IOException
        Set method for struct member 'hue'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hue
      • getSat

        public float getSat()
                     throws java.io.IOException
        Get method for struct member 'sat'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sat
      • setSat

        public void setSat​(float sat)
                    throws java.io.IOException
        Set method for struct member 'sat'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sat
      • getVal

        public float getVal()
                     throws java.io.IOException
        Get method for struct member 'val'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__val
      • setVal

        public void setVal​(float val)
                    throws java.io.IOException
        Set method for struct member 'val'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__val
      • __io__addressof

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