![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GridIndexing2.h>
Public Member Functions | |
| TScaleGridIndexer2 () | |
| TScaleGridIndexer2 (RealType CellSize) | |
| FVector2i | ToGrid (const TVector2< RealType > &P) const |
| TVector2< RealType > | FromGrid (const FVector2i &GridPoint) const |
Public Attributes | |
| RealType | CellSize |
Convert between integer grid coordinates and scaled real-valued coordinates (ie assumes integer grid origin == real origin)
|
inline |
|
inline |
|
inline |
Convert integer grid coordinates to real-valued point
|
inline |
Convert real-valued point to integer grid coordinates
| RealType UE::Geometry::TScaleGridIndexer2< RealType >::CellSize |
Real-valued size of an integer grid cell