Blender V5.3
blender::ed::space_node::NodeSetCopy Class Reference

#include <node_intern.hh>

Utilities for copying node sets

bNodeTree & dst_tree () const
const Map< const bNode *, bNode * > & node_map () const
const Map< int32_t, int32_t > & node_identifier_map () const
static NodeSetCopy from_nodes (Main &bmain, const bNodeTree &src_tree, const Span< const bNode * > src_nodes, bNodeTree &dst_tree)
static NodeSetCopy from_predicate (Main &bmain, const bNodeTree &src_tree, FunctionRef< bool(const bNode &node)> node_predicate, bNodeTree &dst_tree)

Detailed Description

Set of nodes that are copied from other nodes and can be mapped to the original nodes.

Definition at line 760 of file node_intern.hh.

Member Function Documentation

◆ dst_tree()

◆ from_nodes()

◆ from_predicate()

NodeSetCopy blender::ed::space_node::NodeSetCopy::from_predicate ( Main & bmain,
const bNodeTree & src_tree,
FunctionRef< bool(const bNode &node)> node_predicate,
bNodeTree & dst_tree )
static

◆ node_identifier_map()

const Map< int32_t, int32_t > & blender::ed::space_node::NodeSetCopy::node_identifier_map ( ) const

◆ node_map()


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