Blender V5.0
blender::nodes::LayoutDeclaration Class Reference

#include <NOD_node_declaration.hh>

Inherits blender::nodes::ItemDeclaration.

Public Attributes

std::function< DrawNodeLayoutFndraw
bool is_default = false
Public Attributes inherited from blender::nodes::ItemDeclaration
const PanelDeclarationparent = nullptr

Additional Inherited Members

Public Member Functions inherited from blender::nodes::ItemDeclaration
virtual ~ItemDeclaration ()=default

Detailed Description

Definition at line 509 of file NOD_node_declaration.hh.

Member Data Documentation

◆ draw

std::function<DrawNodeLayoutFn> blender::nodes::LayoutDeclaration::draw

◆ is_default

bool blender::nodes::LayoutDeclaration::is_default = false

Sometimes the default layout has special handling (e.g. choose between #draw_buttons and #draw_buttons_ex).

Definition at line 516 of file NOD_node_declaration.hh.

Referenced by blender::nodes::DeclarationListBuilder::add_default_layout().


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