- Declared in: RT.Coordinates.Hex
Declaration
public Hex Rotate(
int rotation
)Summary
Rotates the current hex’s position within the grid about the center hex (0, 0) clockwise by the specified multiple
of 60°.
Parameters
| int | rotation |
Amount of rotation. For example, a value of 1 results in a clockwise rotation by 60°. |