Blender V5.0
LayoutDeclaration Class Reference

#include <NOD_node_declaration.hh>

Inherits blender::nodes::ItemDeclaration.

Public Attributes

std::function< DrawNodeLayoutFn > draw
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

Definition at line 511 of file NOD_node_declaration.hh.

◆ is_default

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.


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