Class bNodeTreePath


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bNodeTreePath bnodetreepath = ...;
         CPointer<Object> p = bnodetreepath.__dna__addressof(bNodeTreePath.__DNA__FIELD__next);
         CPointer<CPointer<bNodeTreePath>> p_next = p.cast(new Class[]{CPointer.class, bNodeTreePath.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'bNodeTreePath*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         bNodeTreePath bnodetreepath = ...;
         CPointer<Object> p = bnodetreepath.__dna__addressof(bNodeTreePath.__DNA__FIELD__prev);
         CPointer<CPointer<bNodeTreePath>> p_prev = p.cast(new Class[]{CPointer.class, bNodeTreePath.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'bNodeTreePath*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__nodetree

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

        Pointer Arithmetics

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

         bNodeTreePath bnodetreepath = ...;
         CPointer<Object> p = bnodetreepath.__dna__addressof(bNodeTreePath.__DNA__FIELD__nodetree);
         CPointer<CPointer<bNodeTree>> p_nodetree = p.cast(new Class[]{CPointer.class, bNodeTree.class});
         

        Metadata

        • Field: 'nodetree'
        • Signature: 'bNodeTree*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__parent_key

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

        Field Documentation

        Blender Source Code

        Base key for nodes in this tree instance.

        Pointer Arithmetics

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

         bNodeTreePath bnodetreepath = ...;
         CPointer<Object> p = bnodetreepath.__dna__addressof(bNodeTreePath.__DNA__FIELD__parent_key);
         CPointer<bNodeInstanceKey> p_parent_key = p.cast(new Class[]{bNodeInstanceKey.class});
         

        Metadata

        • Field: 'parent_key'
        • Signature: 'bNodeInstanceKey'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         bNodeTreePath bnodetreepath = ...;
         CPointer<Object> p = bnodetreepath.__dna__addressof(bNodeTreePath.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__view_center

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

        Field Documentation

        Blender Source Code

        V2d center point, so node trees can have different offsets in editors.

        Pointer Arithmetics

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

         bNodeTreePath bnodetreepath = ...;
         CPointer<Object> p = bnodetreepath.__dna__addressof(bNodeTreePath.__DNA__FIELD__view_center);
         CPointer<CArrayFacade<Float>> p_view_center = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'view_center'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__node_name

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Pointer Arithmetics

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

         bNodeTreePath bnodetreepath = ...;
         CPointer<Object> p = bnodetreepath.__dna__addressof(bNodeTreePath.__DNA__FIELD__node_name);
         CPointer<CArrayFacade<Byte>> p_node_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'node_name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
    • Constructor Detail

      • bNodeTreePath

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

      • setNodetree

        public void setNodetree​(CPointer<bNodeTree> nodetree)
                         throws java.io.IOException
        Set method for struct member 'nodetree'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__nodetree
      • getParent_key

        public bNodeInstanceKey getParent_key()
                                       throws java.io.IOException
        Get method for struct member 'parent_key'.

        Field Documentation

        Blender Source Code

        Base key for nodes in this tree instance.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent_key
      • setParent_key

        public void setParent_key​(bNodeInstanceKey parent_key)
                           throws java.io.IOException
        Set method for struct member 'parent_key'.

        Field Documentation

        Blender Source Code

        Base key for nodes in this tree instance.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent_key
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getView_center

        public CArrayFacade<java.lang.Float> getView_center()
                                                     throws java.io.IOException
        Get method for struct member 'view_center'.

        Field Documentation

        Blender Source Code

        V2d center point, so node trees can have different offsets in editors.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__view_center
      • setView_center

        public void setView_center​(CArrayFacade<java.lang.Float> view_center)
                            throws java.io.IOException
        Set method for struct member 'view_center'.

        Field Documentation

        Blender Source Code

        V2d center point, so node trees can have different offsets in editors.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__view_center
      • getNode_name

        public CArrayFacade<java.lang.Byte> getNode_name()
                                                  throws java.io.IOException
        Get method for struct member 'node_name'.

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__node_name
      • setNode_name

        public void setNode_name​(CArrayFacade<java.lang.Byte> node_name)
                          throws java.io.IOException
        Set method for struct member 'node_name'.

        Field Documentation

        Blender Source Code

        MAX_NAME.

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

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