Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Sampling
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Sampling/GridSampler.h |
| Include | #include "Sampling/GridSampler.h" |
Syntax
template<typename RealType>
class TGridSampler
Remarks
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).
Constructors
| Type | Name | Description | |
|---|---|---|---|
TGridSampler
(
int32 SizeIn |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Num () |
||
| UE::Math::TVector2< RealType > |