Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/function/nodes/node_fn_string_length.cc
| Show All 18 Lines | |||||
| #include <iomanip> | #include <iomanip> | ||||
| #include "node_function_util.hh" | #include "node_function_util.hh" | ||||
| namespace blender::nodes { | namespace blender::nodes { | ||||
| static void fn_node_string_length_declare(NodeDeclarationBuilder &b) | static void fn_node_string_length_declare(NodeDeclarationBuilder &b) | ||||
| { | { | ||||
| b.is_function_node(); | |||||
| b.add_input<decl::String>("String"); | b.add_input<decl::String>("String"); | ||||
| b.add_output<decl::Int>("Length"); | b.add_output<decl::Int>("Length"); | ||||
| }; | }; | ||||
| } // namespace blender::nodes | } // namespace blender::nodes | ||||
| static void fn_node_string_length_build_multi_function( | static void fn_node_string_length_build_multi_function( | ||||
| blender::nodes::NodeMultiFunctionBuilder &builder) | blender::nodes::NodeMultiFunctionBuilder &builder) | ||||
| Show All 15 Lines | |||||