Regular Polygon
Generators / Shapes
Binary regular N-gon mask with equal sides and angles.
Parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
offsetOffset | vec2 | [0, 0] | -1 to 1 | Shape offset from texture center in UV units. |
radiusRadius | float | 0.25 | 0.01 to 1 | Circumradius measured against the shorter output dimension. |
sidesSides | int | 6 | 3 to 12 | Number of equal sides. |
rotationRotation | float | 0 | 0 to 1 | Rotation in turns. 0.25 = 90°, 0.5 = 180°, 1.0 = 360°. |
Outputs
output(default format:r32float)