Blender  V2.93
Public Member Functions | List of all members
blender::nodes::NodeRef Class Reference

#include <NOD_node_tree_ref.hh>

Inherits blender::NonCopyable, and blender::NonMovable.

Public Member Functions

const NodeTreeRef & tree () const
 
Span< const InputSocketRef * > inputs () const
 
Span< const OutputSocketRef * > outputs () const
 
Span< const InternalLinkRef * > internal_links () const
 
const InputSocketRef & input (int index) const
 
const OutputSocketRef & output (int index) const
 
bNode * bnode () const
 
bNodeTree * btree () const
 
PointerRNA * rna () const
 
StringRefNull idname () const
 
StringRefNull name () const
 
bNodeType * typeinfo () const
 
int id () const
 
bool is_reroute_node () const
 
bool is_group_node () const
 
bool is_group_input_node () const
 
bool is_group_output_node () const
 
bool is_muted () const
 
bool is_frame () const
 
bool is_undefined () const
 
void * storage () const
 
template<typename T >
T * storage () const
 

Detailed Description

Definition at line 163 of file NOD_node_tree_ref.hh.

Member Function Documentation

◆ bnode()

bNode * blender::nodes::NodeRef::bnode ( ) const
inline

◆ btree()

bNodeTree * blender::nodes::NodeRef::btree ( ) const
inline

◆ id()

int blender::nodes::NodeRef::id ( ) const
inline

Definition at line 535 of file NOD_node_tree_ref.hh.

◆ idname()

StringRefNull blender::nodes::NodeRef::idname ( ) const
inline

Definition at line 520 of file NOD_node_tree_ref.hh.

References bNode::idname.

◆ input()

const InputSocketRef & blender::nodes::NodeRef::input ( int  index) const
inline

◆ inputs()

Span< const InputSocketRef * > blender::nodes::NodeRef::inputs ( ) const
inline

◆ internal_links()

Span< const InternalLinkRef * > blender::nodes::NodeRef::internal_links ( ) const
inline

Definition at line 490 of file NOD_node_tree_ref.hh.

◆ is_frame()

bool blender::nodes::NodeRef::is_frame ( ) const
inline

Definition at line 560 of file NOD_node_tree_ref.hh.

References NODE_FRAME, and bNode::type.

◆ is_group_input_node()

bool blender::nodes::NodeRef::is_group_input_node ( ) const
inline

◆ is_group_node()

bool blender::nodes::NodeRef::is_group_node ( ) const
inline

◆ is_group_output_node()

bool blender::nodes::NodeRef::is_group_output_node ( ) const
inline

◆ is_muted()

bool blender::nodes::NodeRef::is_muted ( ) const
inline

Definition at line 570 of file NOD_node_tree_ref.hh.

References bNode::flag, and NODE_MUTED.

◆ is_reroute_node()

bool blender::nodes::NodeRef::is_reroute_node ( ) const
inline

Definition at line 540 of file NOD_node_tree_ref.hh.

References NODE_REROUTE, and bNode::type.

◆ is_undefined()

bool blender::nodes::NodeRef::is_undefined ( ) const
inline

Definition at line 565 of file NOD_node_tree_ref.hh.

References NodeTypeUndefined, and bNode::typeinfo.

◆ name()

StringRefNull blender::nodes::NodeRef::name ( ) const
inline

◆ output()

const OutputSocketRef & blender::nodes::NodeRef::output ( int  index) const
inline

◆ outputs()

Span< const OutputSocketRef * > blender::nodes::NodeRef::outputs ( ) const
inline

◆ rna()

PointerRNA * blender::nodes::NodeRef::rna ( ) const
inline

Definition at line 515 of file NOD_node_tree_ref.hh.

◆ storage() [1/2]

void * blender::nodes::NodeRef::storage ( ) const
inline

Definition at line 575 of file NOD_node_tree_ref.hh.

References bNode::storage.

◆ storage() [2/2]

template<typename T >
T * blender::nodes::NodeRef::storage
inline

Definition at line 580 of file NOD_node_tree_ref.hh.

References bNode::storage, and T.

◆ tree()

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

◆ typeinfo()

bNodeType * blender::nodes::NodeRef::typeinfo ( ) const
inline

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