Nodes > Functions > Coords > Rotate Coords

Rotates coordinates around a center point.
Inputs
| Name | Type | Description |
|---|---|---|
| Coords | float | Input coordinates to be rotated |
| Rotation (degrees) | float | Rotation, in degrees, to apply |
| Center | float | Center point that coordinates rotate around |
| Dimension | float | When Maintain Aspect is enabled, this (width, height) vector is used to calculate aspect ratio |
Outputs
| Name | Type | Description |
|---|---|---|
| Coords | float | Rotated coordinates |
Properties
| Name | Type | Description |
|---|---|---|
| Maintain Aspect | bool | When enabled, exposes the dimension input that should be the width and height ratio of the texture. This will maintain the entered aspect ratio while rotating the coordinates |
Was this page helpful?