Class bNodeSocketValueRGBA


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bNodeSocketValueRGBA bnodesocketvaluergba = ...;
         CPointer<Object> p = bnodesocketvaluergba.__dna__addressof(bNodeSocketValueRGBA.__DNA__FIELD__value);
         CPointer<CArrayFacade<Float>> p_value = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'value'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
    • Constructor Detail

      • bNodeSocketValueRGBA

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

      • getValue

        public CArrayFacade<java.lang.Float> getValue()
                                               throws java.io.IOException
        Get method for struct member 'value'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__value
      • setValue

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