Blender V4.3
blender::nodes::DTreeContext Class Reference

#include <NOD_derived_node_tree.hh>

Public Member Functions

#DTreeContext Inline Methods
const bNodeTreebtree () const
 
const DTreeContextparent_context () const
 
const bNodeparent_node () const
 
const bNodeInstanceKey instance_key () const
 
const DTreeContextchild_context (const bNode &node) const
 
const DerivedNodeTreederived_tree () const
 
bool is_root () const
 

Detailed Description

The context attached to every node or socket in a derived node tree. It can be used to determine the place of a node in a hierarchy of node groups.

Contexts are organized in a tree data structure to avoid having to store the entire path to the root node group for every node/socket.

Definition at line 39 of file NOD_derived_node_tree.hh.

Member Function Documentation

◆ btree()

◆ child_context()

◆ derived_tree()

const DerivedNodeTree & blender::nodes::DTreeContext::derived_tree ( ) const
inline

Definition at line 266 of file NOD_derived_node_tree.hh.

◆ instance_key()

const bNodeInstanceKey blender::nodes::DTreeContext::instance_key ( ) const
inline

Definition at line 256 of file NOD_derived_node_tree.hh.

◆ is_root()

bool blender::nodes::DTreeContext::is_root ( ) const
inline

◆ parent_context()

◆ parent_node()

const bNode * blender::nodes::DTreeContext::parent_node ( ) const
inline

The documentation for this class was generated from the following file: