Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Abrahamsson <erik85>2021-09-21 22:11:32 +0300
committerHans Goudey <h.goudey@me.com>2021-09-21 22:11:32 +0300
commit29e3545194804428676b0adf881f418a96a40a9a (patch)
treeabd639517e3004bb34748dbfae726e8b411de71e /source/blender/nodes/NOD_function.h
parent05ce5276db7be4f742b6558d723a989eae4963a3 (diff)
Geometry Nodes: String manipulation nodes
This patch adds four new nodes to a new "Text" category: - String Length: Outputs length of a string - String Substring: Outputs part of a string - Value to String: Converts a value to a string - String Join: Concatenates multiple strings with a delimiter The initial use case of these nodes is the upcoming string to curve node. However, they could also be used to calculate dynamic attribute names, or with string attributes in the future. Differential Revision: https://developer.blender.org/D12532
Diffstat (limited to 'source/blender/nodes/NOD_function.h')
-rw-r--r--source/blender/nodes/NOD_function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/nodes/NOD_function.h b/source/blender/nodes/NOD_function.h
index 29f1a465491..a67458418f2 100644
--- a/source/blender/nodes/NOD_function.h
+++ b/source/blender/nodes/NOD_function.h
@@ -26,6 +26,9 @@ void register_node_type_fn_float_to_int(void);
void register_node_type_fn_input_string(void);
void register_node_type_fn_input_vector(void);
void register_node_type_fn_random_float(void);
+void register_node_type_fn_string_length(void);
+void register_node_type_fn_string_substring(void);
+void register_node_type_fn_value_to_string(void);
#ifdef __cplusplus
}