Navigation
Unreal Engine C++ API Reference > 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 FVector NextSobolCell3D
&40;
int32 Index,
int32 NumCells,
FVector PreviousValue
&41;
Sobol-distributed random 3D position in the same grid cell
Parameters
Name | Description |
---|---|
Index | Which sequential point |
NumCells | Size of cell grid, 1 to 1024. Rounded up to the next power of two |
PreviousValue | The Sobol value for Index-1 |