diff options
author | Dalai Felinto <dalai@blender.org> | 2020-12-17 20:37:04 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-12-18 15:03:27 +0300 |
commit | f43561eae6826eead2e5e78bc8792b3c15dda6ae (patch) | |
tree | 8676fcba093e97c77224390760c7cb7c76359b48 /source/blender/makesdna | |
parent | b342e089c3fb5cf83d6b3715f0658ed217a8c469 (diff) |
Function Nodes: Input Vector
Ref: T82651
Normally people use "Combine XYZ" to input a vector, but it is more
interesting to have an explicit vector input.
So this is basically "Combine XYZ" without any input sockets, the values
are stored in the node itself.
Differential Revision: https://developer.blender.org/D9885
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index af91ab4f257..d6b5e3ed493 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -1110,6 +1110,10 @@ typedef struct NodeAttributeColorRamp { ColorBand color_ramp; } NodeAttributeColorRamp; +typedef struct NodeInputVector { + float vector[3]; +} NodeInputVector; + /* script node mode */ #define NODE_SCRIPT_INTERNAL 0 #define NODE_SCRIPT_EXTERNAL 1 |