![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GridIndexing2.h>
Public Member Functions | |
| TShiftGridIndexer2 (const TVector2< RealType > &origin, RealType cellSize) | |
| FVector2i | ToGrid (const TVector2< RealType > &Point) const |
| FIntRect | ToGrid (const TBox2< RealType > &Box) const |
| FIntRect | ToGrid (const TBox< RealType > &Box) const |
| TVector2< RealType > | FromGrid (const FVector2i &GridPoint) const |
| TVector2< RealType > | FromGrid (const TVector2< RealType > &RealGridPoint) const |
| TBox2< RealType > | BoxFromGrid (const FVector2i &GridPoint) const |
Public Attributes | |
| RealType | CellSize |
| TVector2< RealType > | Origin |
Convert between integer grid coordinates and scaled+translated real-valued coordinates
|
inline |
|
inline |
Compute the real-valued 2D box of an integer grid coordinates
|
inline |
Convert integer grid coordinates to real-valued point
|
inline |
Convert real-valued grid coordinates to real-valued point
|
inline |
Convert real-valued 2D box to a rectangle using integer grid coordinates
|
inline |
Convert real-valued 3D box to a rectangle using integer grid coordinates
|
inline |
Convert real-valued point to integer grid coordinates
| RealType UE::Geometry::TShiftGridIndexer2< RealType >::CellSize |
Real-valued size of an integer grid cell
| TVector2<RealType> UE::Geometry::TShiftGridIndexer2< RealType >::Origin |
Real-valued origin of grid, position of integer grid origin