The sign function (sign) reports whether an input value is positive (1), negative (-1), or zero (0).
With a vec2 input, this applies separately to the X and Y components.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Value | The number whose sign is checked. Primary Input | Vec2[]Vec2f32[]f32f64[]f64 |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | f64f64[]f32f32[]Vec2Vec2[] |