Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TVector
Description
Gets a copy of this vector snapped to a grid.
| Name | GridSnap |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Vector.h |
| Include Path | #include "Math/Vector.h" |
TVector < T > GridSnap
(
const T & GridSz
) const
A copy of this vector snapped to a grid.
Parameters
| Name | Remarks |
|---|---|
| GridSz | Grid dimension. |
See Also
- FMath::GridSnap()