Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include | #include "Kismet/KismetMathLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
UFUNCTION (BlueprintPure, Meta=(ScriptMethod="SnappedToGrid", Keywords="Bounding"),
Category="Math|Vector")
static FVector Vector_SnappedToGrid
(
FVector InVect,
float InGridSize
)
Remarks
Gets a copy of this vector snapped to a grid. A copy of this vector snapped to a grid.
Parameters
Name | Description |
---|---|
InGridSize | Grid dimension / step. |