Doc > Nodes > SOP > AttribNormalize
Normalizes an attribute.
Description
Finds the min and max of an attribute and normalizes its value between 0 and 1. For vector attributes, it can also set them to a length of 1.
Parameters
Name | Type | Description |
---|---|---|
mode | integer | defines if the value should be normalized between 0 and 1, or for vectors if the length should be 1 |
name | string | attribute to normalize |
changeName | boolean | toggle to change the name of the attribute |
newName | string | new attribute name |