This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.
Scales the input vec2 to unit length while preserving its direction. This is equivalent to dividing the input vec2 by its own magnitude.
Returns 0 when the input vec2 has zero length.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Vec 2 | Primary Input | Vec2[]Vec2 |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | Vec2Vec2[] |