|
Blender V5.3
|
#include <NOD_socket_declarations.hh>
Inherits blender::nodes::SocketDeclaration.
Public Types | |
| using | Builder = RotationBuilder |
Public Member Functions | |
#Rotation | |
| bNodeSocket & | build (bNodeTree &ntree, bNode &node) const override |
| bool | matches (const bNodeSocket &socket) const override |
| bNodeSocket & | update_or_build (bNodeTree &ntree, bNode &node, bNodeSocket &socket) const override |
| bool | can_connect (const bNodeSocket &socket) const override |
| Public Member Functions inherited from blender::nodes::SocketDeclaration | |
| ~SocketDeclaration () override=default | |
| void | make_available (bNode &node) const |
| const CompositorInputRealizationMode & | compositor_realization_mode () const |
| int | compositor_domain_priority () const |
| Public Member Functions inherited from blender::nodes::ItemDeclaration | |
| virtual | ~ItemDeclaration ()=default |
Static Public Attributes | |
| static constexpr eNodeSocketDatatype | static_socket_type = SOCK_ROTATION |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::nodes::SocketDeclaration | |
| void | set_common_flags (bNodeSocket &socket) const |
| bool | matches_common_data (const bNodeSocket &socket) const |
Definition at line 210 of file NOD_socket_declarations.hh.
Definition at line 218 of file NOD_socket_declarations.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 535 of file node_socket_declarations.cc.
References blender::copy_v3_v3(), blender::bNodeSocket::default_value, default_value, blender::nodes::SocketDeclaration::identifier, blender::nodes::SocketDeclaration::in_out, node, blender::bke::node_add_static_socket(), blender::PROP_NONE, blender::UString::ref(), blender::nodes::SocketDeclaration::set_common_flags(), blender::SOCK_ROTATION, and blender::bNodeSocketValueRotation::value_euler.
Referenced by update_or_build().
|
overridevirtual |
Determine if a new socket described by this declaration could have a valid connection the other socket.
Implements blender::nodes::SocketDeclaration.
Definition at line 561 of file node_socket_declarations.cc.
References ELEM, blender::nodes::SocketDeclaration::in_out, blender::SOCK_FLOAT, blender::SOCK_IN, blender::SOCK_MATRIX, blender::SOCK_ROTATION, blender::SOCK_VECTOR, blender::nodes::decl::sockets_can_connect(), and blender::bNodeSocket::type.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 550 of file node_socket_declarations.cc.
References blender::nodes::SocketDeclaration::matches_common_data(), blender::SOCK_ROTATION, and blender::bNodeSocket::type.
|
overridevirtual |
Reimplemented from blender::nodes::SocketDeclaration.
Definition at line 572 of file node_socket_declarations.cc.
References blender::BLI_assert(), build(), blender::bNodeSocket::in_out, node, blender::nodes::SocketDeclaration::set_common_flags(), blender::SOCK_ROTATION, and blender::bNodeSocket::type.
| math::EulerXYZ blender::nodes::decl::Rotation::default_value |
Definition at line 214 of file NOD_socket_declarations.hh.
Referenced by build().
| friend blender::nodes::decl::Rotation::RotationBuilder |
Definition at line 216 of file NOD_socket_declarations.hh.
|
staticconstexpr |
Definition at line 212 of file NOD_socket_declarations.hh.