|
Blender V5.0
|
#include <NOD_socket_declarations.hh>
Inherits blender::nodes::SocketDeclarationBuilder< Menu >.
Additional Inherited Members | |
| Protected Types inherited from blender::nodes::SocketDeclarationBuilder< Menu > | |
| using | Self |
| Protected Attributes inherited from blender::nodes::SocketDeclarationBuilder< Menu > | |
| Menu * | decl_ |
| Protected Attributes inherited from blender::nodes::BaseSocketDeclarationBuilder | |
| bool | reference_pass_all_ = false |
| bool | field_on_all_ = false |
| bool | propagate_from_all_ = false |
| NodeDeclarationBuilder * | node_decl_builder_ = nullptr |
| SocketDeclaration * | decl_base_ = nullptr |
Definition at line 248 of file NOD_socket_declarations.hh.
|
inline |
Definition at line 604 of file NOD_socket_declarations.hh.
References blender::nodes::SocketDeclarationBuilder< Menu >::decl_.
|
inline |
Draw the menu items next to each other instead of as a drop-down menu.
Definition at line 610 of file NOD_socket_declarations.hh.
References blender::nodes::SocketDeclarationBuilder< Menu >::decl_.
| MenuBuilder & blender::nodes::decl::MenuBuilder::static_items | ( | const EnumPropertyItem * | items | ) |
Set the available items in the menu. The items array must have static lifetime.
Definition at line 607 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclarationBuilder< Menu >::decl_, blender::bke::RuntimeNodeEnumItem::description, blender::bke::RuntimeNodeEnumItem::identifier, EnumPropertyItem::identifier, blender::bke::RuntimeNodeEnumItems::items, lock, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb(), mutex, and blender::bke::RuntimeNodeEnumItem::name.