Blender  V3.3
Public Types | List of all members
blender::nodes::decl::Float Class Reference

#include <NOD_socket_declarations.hh>

Inheritance diagram for blender::nodes::decl::Float:
blender::nodes::SocketDeclaration

Public Types

using Builder = FloatBuilder
 

Public Member Functions

#Float
bNodeSocketbuild (bNodeTree &ntree, bNode &node) const override
 
bool matches (const bNodeSocket &socket) const override
 
bNodeSocketupdate_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
virtual ~SocketDeclaration ()=default
 
void make_available (bNode &node) const
 
StringRefNull name () const
 
StringRefNull description () const
 
StringRefNull identifier () const
 
eNodeSocketInOut in_out () const
 
bool is_attribute_name () const
 
bool is_default_link_socket () const
 
InputSocketFieldType input_field_type () const
 
const OutputFieldDependencyoutput_field_dependency () const
 

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
 
- Protected Attributes inherited from blender::nodes::SocketDeclaration
std::string name_
 
std::string identifier_
 
std::string description_
 
eNodeSocketInOut in_out_
 
bool hide_label_ = false
 
bool hide_value_ = false
 
bool compact_ = false
 
bool is_multi_input_ = false
 
bool no_mute_links_ = false
 
bool is_unavailable_ = false
 
bool is_attribute_name_ = false
 
bool is_default_link_socket_ = false
 
InputSocketFieldType input_field_type_ = InputSocketFieldType::None
 
OutputFieldDependency output_field_dependency_
 
std::function< void(bNode &)> make_available_fn_
 
friend NodeDeclarationBuilder
 

Detailed Description

Definition at line 16 of file NOD_socket_declarations.hh.

Member Typedef Documentation

◆ Builder

Definition at line 26 of file NOD_socket_declarations.hh.

Member Function Documentation

◆ build()

bNodeSocket & blender::nodes::decl::Float::build ( bNodeTree ntree,
bNode node 
) const
overridevirtual

◆ can_connect()

bool blender::nodes::decl::Float::can_connect ( const bNodeSocket socket) const
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 104 of file node_socket_declarations.cc.

References blender::nodes::decl::basic_types_can_connect(), and blender::nodes::decl::sockets_can_connect().

◆ matches()

bool blender::nodes::decl::Float::matches ( const bNodeSocket socket) const
overridevirtual

◆ update_or_build()

bNodeSocket & blender::nodes::decl::Float::update_or_build ( bNodeTree ntree,
bNode node,
bNodeSocket socket 
) const
overridevirtual

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