Geometry Nodes: Add Attribute Map Range Node
This commit adds a node with a "Map Range" operation for attributes just like the non-attribute version of the node. However, unlike the regular version of the node, it also supports operations on vectors. Differential Revision: https://developer.blender.org/D10344
This commit is contained in:
@@ -1119,6 +1119,14 @@ typedef struct NodeAttributeCompare {
|
||||
char _pad[5];
|
||||
} NodeAttributeCompare;
|
||||
|
||||
typedef struct NodeAttributeMapRange {
|
||||
/* GeometryNodeAttributeDataType */
|
||||
uint8_t data_type;
|
||||
|
||||
/* NodeMapRangeType. */
|
||||
uint8_t interpolation_type;
|
||||
} NodeAttributeMapRange;
|
||||
|
||||
typedef struct NodeAttributeMath {
|
||||
/* NodeMathOperation. */
|
||||
uint8_t operation;
|
||||
|
Reference in New Issue
Block a user