#include <NOD_node_declaration.hh>
Inherits blender::nodes::ItemDeclaration.
Inherited by blender::nodes::decl::Bool, blender::nodes::decl::Color, blender::nodes::decl::Custom, blender::nodes::decl::Extend, blender::nodes::decl::Float, blender::nodes::decl::Geometry, blender::nodes::decl::IDSocketDeclaration, blender::nodes::decl::Int, blender::nodes::decl::Matrix, blender::nodes::decl::Menu, blender::nodes::decl::Rotation, blender::nodes::decl::Shader, blender::nodes::decl::String, and blender::nodes::decl::Vector.
Describes a single input or output socket. This is subclassed for different socket types.
Definition at line 170 of file NOD_node_declaration.hh.
◆ ~SocketDeclaration()
| virtual blender::nodes::SocketDeclaration::~SocketDeclaration |
( |
| ) |
|
|
virtualdefault |
◆ build()
◆ can_connect()
| virtual bool blender::nodes::SocketDeclaration::can_connect |
( |
const bNodeSocket & | socket | ) |
const |
|
pure virtual |
Determine if a new socket described by this declaration could have a valid connection the other socket.
◆ compositor_domain_priority()
| int blender::nodes::SocketDeclaration::compositor_domain_priority |
( |
| ) |
const |
◆ compositor_expects_single_value()
| bool blender::nodes::SocketDeclaration::compositor_expects_single_value |
( |
| ) |
const |
◆ compositor_realization_options()
◆ make_available()
| void blender::nodes::SocketDeclaration::make_available |
( |
bNode & | node | ) |
const |
Change the node such that the socket will become visible. The node type's update method should be called afterwards.
- Note
- this is not necessarily implemented for all node types.
Definition at line 866 of file node_declaration.cc.
◆ matches()
| virtual bool blender::nodes::SocketDeclaration::matches |
( |
const bNodeSocket & | socket | ) |
const |
|
pure virtual |
◆ matches_common_data()
| bool blender::nodes::SocketDeclaration::matches_common_data |
( |
const bNodeSocket & | socket | ) |
const |
|
protected |
◆ set_common_flags()
| void blender::nodes::SocketDeclaration::set_common_flags |
( |
bNodeSocket & | socket | ) |
const |
|
protected |
◆ update_or_build()
◆ BaseSocketDeclarationBuilder
| friend class BaseSocketDeclarationBuilder |
|
friend |
◆ SocketDeclarationBuilder
template<typename SocketDecl>
| friend class SocketDeclarationBuilder |
|
friend |
◆ align_with_previous_socket
| bool blender::nodes::SocketDeclaration::align_with_previous_socket = false |
◆ compact
| bool blender::nodes::SocketDeclaration::compact = false |
◆ description
| std::string blender::nodes::SocketDeclaration::description |
◆ hide_label
| bool blender::nodes::SocketDeclaration::hide_label = false |
◆ hide_value
| bool blender::nodes::SocketDeclaration::hide_value = false |
◆ identifier
| std::string blender::nodes::SocketDeclaration::identifier |
◆ implicit_input_fn
Some input sockets can have non-trivial values in the case when they are unlinked. This callback computes the default input of a values in geometry nodes when nothing is linked.
Definition at line 214 of file NOD_node_declaration.hh.
◆ in_out
Defined by whether the socket is part of the node's input or output socket declaration list. Included here for convenience.
Definition at line 179 of file NOD_node_declaration.hh.
◆ input_field_type
◆ is_attribute_name
| bool blender::nodes::SocketDeclaration::is_attribute_name = false |
◆ is_available
| bool blender::nodes::SocketDeclaration::is_available = true |
◆ is_default_link_socket
| bool blender::nodes::SocketDeclaration::is_default_link_socket = false |
◆ is_multi_input
| bool blender::nodes::SocketDeclaration::is_multi_input = false |
◆ name
| std::string blender::nodes::SocketDeclaration::name |
◆ no_mute_links
| bool blender::nodes::SocketDeclaration::no_mute_links = false |
◆ NodeDeclarationBuilder
| friend blender::nodes::SocketDeclaration::NodeDeclarationBuilder |
◆ output_field_dependency
| OutputFieldDependency blender::nodes::SocketDeclaration::output_field_dependency |
◆ short_label
| std::string blender::nodes::SocketDeclaration::short_label |
◆ socket_name_rna
| std::unique_ptr<SocketNameRNA> blender::nodes::SocketDeclaration::socket_name_rna |
Property that stores the name of the socket so that it can be modified directly from the node without going to the side-bar.
Definition at line 219 of file NOD_node_declaration.hh.
◆ socket_type
◆ translation_context
| std::string blender::nodes::SocketDeclaration::translation_context |
The documentation for this class was generated from the following files: