Blender V5.0
blender::nodes::CustomSocketDrawParams Struct Reference

#include <NOD_node_declaration.hh>

Public Member Functions

void draw_standard (uiLayout &layout, std::optional< StringRefNull > label_override=std::nullopt)

Public Attributes

const bContextC
uiLayoutlayout
bNodeTreetree
bNodenode
bNodeSocketsocket
PointerRNA node_ptr
PointerRNA socket_ptr
StringRefNull label
const Map< const bNode *, const bNode * > * menu_switch_source_by_index_switch = nullptr

Detailed Description

Definition at line 185 of file NOD_node_declaration.hh.

Member Function Documentation

◆ draw_standard()

void blender::nodes::CustomSocketDrawParams::draw_standard ( uiLayout & layout,
std::optional< StringRefNull > label_override = std::nullopt )

Definition at line 1119 of file node_declaration.cc.

References C, layout, node_ptr, socket, and socket_ptr.

Member Data Documentation

◆ C

const bContext& blender::nodes::CustomSocketDrawParams::C

Definition at line 186 of file NOD_node_declaration.hh.

Referenced by draw_standard().

◆ label

StringRefNull blender::nodes::CustomSocketDrawParams::label

Definition at line 193 of file NOD_node_declaration.hh.

◆ layout

uiLayout& blender::nodes::CustomSocketDrawParams::layout

Definition at line 187 of file NOD_node_declaration.hh.

Referenced by draw_standard().

◆ menu_switch_source_by_index_switch

const Map<const bNode *, const bNode *>* blender::nodes::CustomSocketDrawParams::menu_switch_source_by_index_switch = nullptr

Definition at line 194 of file NOD_node_declaration.hh.

◆ node

bNode& blender::nodes::CustomSocketDrawParams::node

Definition at line 189 of file NOD_node_declaration.hh.

◆ node_ptr

PointerRNA blender::nodes::CustomSocketDrawParams::node_ptr

Definition at line 191 of file NOD_node_declaration.hh.

Referenced by draw_standard().

◆ socket

bNodeSocket& blender::nodes::CustomSocketDrawParams::socket

Definition at line 190 of file NOD_node_declaration.hh.

Referenced by draw_standard().

◆ socket_ptr

PointerRNA blender::nodes::CustomSocketDrawParams::socket_ptr

Definition at line 192 of file NOD_node_declaration.hh.

Referenced by draw_standard().

◆ tree

bNodeTree& blender::nodes::CustomSocketDrawParams::tree

Definition at line 188 of file NOD_node_declaration.hh.


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