Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UImportanceSamplingLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/ImportanceSamplingLibrary.h |
| Include | #include "Kismet/ImportanceSamplingLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Kismet/ImportanceSamplingLibrary.cpp |
static FVector2D RandomSobolCell2D
&40;
int32 Index,
int32 NumCells,
FVector2D Cell,
FVector2D Seed
&41;
Sobol-distributed random 2D position in the given grid cell
Parameters
| Name | Description |
|---|---|
| Index | Which sequential point in the cell (starting at 0) |
| NumCells | Size of cell grid, 1 to 32768. Rounded up to the next power of two |
| Cell | Give a point from this integer grid cell |
| Seed | Random 2D seed (components in the range 0-1) to randomize across multiple sequences |