Table of Contents

Method RoundToGridPoint

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

RoundToGridPoint(Vector3)

Rounds a vector to the closest grid point if the points represent a hex-block grid.

public static GridPoint3 RoundToGridPoint(Vector3 vector)

Parameters

vector Vector3

Returns

GridPoint3