Blender V5.0
blender::bke::bNodePanelRuntime Class Reference

#include <BKE_node_runtime.hh>

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

Public Attributes

std::optional< floatheader_center_y
std::optional< bNodePanelExtentcontent_extent
bNodeSocketinput_socket = nullptr

Detailed Description

Definition at line 326 of file BKE_node_runtime.hh.

Member Data Documentation

◆ content_extent

◆ header_center_y

std::optional<float> blender::bke::bNodePanelRuntime::header_center_y

The vertical location of the panel in the tree, calculated while drawing the nodes and invalid if the node tree hasn't been drawn yet. In the node tree's "world space" (the same as #bNode::runtime::draw_bounds).

Definition at line 333 of file BKE_node_runtime.hh.

Referenced by blender::ed::space_node::mark_sockets_collapsed_recursive(), blender::ed::space_node::node_draw_panels(), and blender::ed::space_node::node_update_basis_from_declaration().

◆ input_socket

bNodeSocket* blender::bke::bNodePanelRuntime::input_socket = nullptr

Optional socket that is part of the panel header.

Definition at line 336 of file BKE_node_runtime.hh.

Referenced by blender::ed::space_node::node_draw_panels(), and blender::ed::space_node::node_update_basis_from_declaration().


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