This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.
The floor function (floor) rounds down an input value to the nearest whole number, unless the input number is already whole.
With a vec2 input, this applies separately to the X and Y components.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Value | The number to be rounded down. Primary Input | Number[]NumberVec2[]Vec2 |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | NumberNumber[]Vec2Vec2[] |