Blender  V3.3
List of all members
blender::nodes::DTreeContext Class Reference

#include <NOD_derived_node_tree.hh>

Public Member Functions

#DTreeContext Inline Methods
const NodeTreeReftree () const
 
const DTreeContextparent_context () const
 
const NodeRefparent_node () const
 
const DTreeContextchild_context (const NodeRef &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 36 of file NOD_derived_node_tree.hh.

Member Function Documentation

◆ child_context()

const DTreeContext * blender::nodes::DTreeContext::child_context ( const NodeRef node) const
inline

◆ derived_tree()

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

Definition at line 251 of file NOD_derived_node_tree.hh.

◆ is_root()

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

◆ parent_context()

const DTreeContext * blender::nodes::DTreeContext::parent_context ( ) const
inline

◆ parent_node()

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

◆ tree()

const NodeTreeRef & blender::nodes::DTreeContext::tree ( ) const
inline

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