Class NodeScriptDict


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        For PyObject *dict.

        Pointer Arithmetics

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

         NodeScriptDict nodescriptdict = ...;
         CPointer<Object> p = nodescriptdict.__dna__addressof(NodeScriptDict.__DNA__FIELD__dict);
         CPointer<CPointer<Object>> p_dict = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'dict'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__node

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

        Field Documentation

        Blender Source Code

        For BPy_Node *node.

        Pointer Arithmetics

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

         NodeScriptDict nodescriptdict = ...;
         CPointer<Object> p = nodescriptdict.__dna__addressof(NodeScriptDict.__DNA__FIELD__node);
         CPointer<CPointer<Object>> p_node = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'node'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • NodeScriptDict

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

      • getDict

        public CPointer<java.lang.Object> getDict()
                                           throws java.io.IOException
        Get method for struct member 'dict'.

        Field Documentation

        Blender Source Code

        For PyObject *dict.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dict
      • setDict

        public void setDict​(CPointer<java.lang.Object> dict)
                     throws java.io.IOException
        Set method for struct member 'dict'.

        Field Documentation

        Blender Source Code

        For PyObject *dict.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dict
      • getNode

        public CPointer<java.lang.Object> getNode()
                                           throws java.io.IOException
        Get method for struct member 'node'.

        Field Documentation

        Blender Source Code

        For BPy_Node *node.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__node
      • setNode

        public void setNode​(CPointer<java.lang.Object> node)
                     throws java.io.IOException
        Set method for struct member 'node'.

        Field Documentation

        Blender Source Code

        For BPy_Node *node.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__node
      • __io__addressof

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