Class NodeGeometryViewer


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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

        eCustomDataType.

        Pointer Arithmetics

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

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

        Metadata

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

      • NodeGeometryViewer

        public NodeGeometryViewer​(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

        eCustomDataType.

        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

        eCustomDataType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type