Class NodeRandomValue


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        CustomDataType.

        Pointer Arithmetics

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

         NodeRandomValue noderandomvalue = ...;
         CPointer<Object> p = noderandomvalue.__dna__addressof(NodeRandomValue.__DNA__FIELD__data_type);
         CPointer<Byte> p_data_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'data_type'
        • Signature: 'uchar'
        • Actual Size (32bit/64bit): 1/1
    • Constructor Detail

      • NodeRandomValue

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

      • getData_type

        public byte getData_type()
                          throws java.io.IOException
        Get method for struct member 'data_type'.

        Field Documentation

        Blender Source Code

        CustomDataType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type
      • setData_type

        public void setData_type​(byte data_type)
                          throws java.io.IOException
        Set method for struct member 'data_type'.

        Field Documentation

        Blender Source Code

        CustomDataType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type