Blender V5.3
blender::bke::bNodeZoneType Class Referenceabstract

#include <BKE_node.hh>

Inherited by blender::ClosureZoneType, blender::ForeachGeometryElementZoneType, blender::LightIterInternalZoneType, blender::RepeatZoneType, and blender::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

UString input_idname
UString output_idname
int input_type
int output_type
int theme_id

Detailed Description

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 1309 of file BKE_node.hh.

Constructor & Destructor Documentation

◆ ~bNodeZoneType()

virtual blender::bke::bNodeZoneType::~bNodeZoneType ( )
virtualdefault

Member Function Documentation

◆ get_corresponding_input() [1/2]

bNode * blender::bke::bNodeZoneType::get_corresponding_input ( bNodeTree & tree,
const bNode & output_bnode ) const

Definition at line 510 of file node_tree_zones.cc.

References get_corresponding_input().

◆ get_corresponding_input() [2/2]

const bNode * blender::bke::bNodeZoneType::get_corresponding_input ( const bNodeTree & tree,
const bNode & output_bnode ) const

◆ get_corresponding_output() [1/2]

bNode * blender::bke::bNodeZoneType::get_corresponding_output ( bNodeTree & tree,
const bNode & input_bnode ) const

Definition at line 516 of file node_tree_zones.cc.

References get_corresponding_output().

◆ get_corresponding_output() [2/2]

const bNode * blender::bke::bNodeZoneType::get_corresponding_output ( const bNodeTree & tree,
const bNode & input_bnode ) const

◆ get_corresponding_output_id() [1/2]

int & blender::bke::bNodeZoneType::get_corresponding_output_id ( bNode & input_bnode) const
inline

Definition at line 1321 of file BKE_node.hh.

References get_corresponding_output_id().

◆ get_corresponding_output_id() [2/2]

Member Data Documentation

◆ input_idname

◆ input_type

◆ output_idname

◆ output_type

◆ theme_id


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