|
Blender V4.3
|
#include <BKE_node.hh>
Inherited by ForeachGeometryElementZoneType, RepeatZoneType, and SimulationZoneType.
Public Member Functions | |
| virtual | ~bNodeZoneType ()=default |
| virtual const int & | get_corresponding_output_id (const bNode &input_bnode) const =0 |
| int & | get_corresponding_output_id (bNode &input_bnode) const |
| const bNode * | get_corresponding_input (const bNodeTree &tree, const bNode &output_bnode) const |
| bNode * | get_corresponding_input (bNodeTree &tree, const bNode &output_bnode) const |
| const bNode * | get_corresponding_output (const bNodeTree &tree, const bNode &input_bnode) const |
| bNode * | get_corresponding_output (bNodeTree &tree, const bNode &input_bnode) const |
Public Attributes | |
| std::string | input_idname |
| std::string | output_idname |
| int | input_type |
| int | output_type |
| int | theme_id |
Contains information about a specific kind of zone (e.g. simulation or repeat zone in geometry nodes). This allows writing code that works for all kinds of zones automatically, reducing redundancy and the amount of boilerplate needed when adding a new zone type.
Definition at line 1763 of file BKE_node.hh.
|
virtualdefault |
| bNode * blender::bke::bNodeZoneType::get_corresponding_input | ( | bNodeTree & | tree, |
| const bNode & | output_bnode ) const |
Definition at line 452 of file node_tree_zones.cc.
References get_corresponding_input(), and tree.
| const bNode * blender::bke::bNodeZoneType::get_corresponding_input | ( | const bNodeTree & | tree, |
| const bNode & | output_bnode ) const |
Definition at line 435 of file node_tree_zones.cc.
References get_corresponding_output_id(), bNode::identifier, input_idname, node, and tree.
Referenced by get_corresponding_input().
| bNode * blender::bke::bNodeZoneType::get_corresponding_output | ( | bNodeTree & | tree, |
| const bNode & | input_bnode ) const |
Definition at line 458 of file node_tree_zones.cc.
References get_corresponding_output(), and tree.
| const bNode * blender::bke::bNodeZoneType::get_corresponding_output | ( | const bNodeTree & | tree, |
| const bNode & | input_bnode ) const |
Definition at line 446 of file node_tree_zones.cc.
References get_corresponding_output_id(), and tree.
Referenced by get_corresponding_output(), and blender::bke::node_tree_runtime::get_implicit_target_nodes().
Definition at line 1775 of file BKE_node.hh.
References get_corresponding_output_id().
|
pure virtual |
Implemented in ForeachGeometryElementZoneType, RepeatZoneType, and SimulationZoneType.
Referenced by get_corresponding_input(), get_corresponding_output(), get_corresponding_output_id(), blender::bke::node_tree_runtime::get_implicit_origin_nodes(), blender::ed::space_node::remap_node_pairing(), and blender::ed::space_node::remap_pairing().
| std::string blender::bke::bNodeZoneType::input_idname |
| int blender::bke::bNodeZoneType::input_type |
Definition at line 1767 of file BKE_node.hh.
Referenced by ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().
| std::string blender::bke::bNodeZoneType::output_idname |
Definition at line 1766 of file BKE_node.hh.
Referenced by ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().
| int blender::bke::bNodeZoneType::output_type |
Definition at line 1768 of file BKE_node.hh.
Referenced by ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().
| int blender::bke::bNodeZoneType::theme_id |
Definition at line 1769 of file BKE_node.hh.
Referenced by ForeachGeometryElementZoneType::ForeachGeometryElementZoneType(), RepeatZoneType::RepeatZoneType(), and SimulationZoneType::SimulationZoneType().