![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GridSampler.h>
Public Member Functions | |
| TGridSampler (int32 SizeIn) | |
| int32 | Num () const |
| UE::Math::TVector2< RealType > | Sample (int32 Index) const |
Given a linear index into a square grid of given size, gives back the [0,1) XY coordinate of the grid cell center (assuming linear index increases first in X and then in Y).
|
inline |
|
inline |
|
inline |
| Index | linear point index in range [0,Num()-1] |