UImportanceSamplingLibrary::NextSobolCell2D

Windows
MacOS
Linux

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

Syntax

static FVector2D NextSobolCell2D
(
    int32 Index,
    int32 NumCells,
    FVector2D PreviousValue
)

Returns

Sobol-distributed random 2D position in the same grid cell

Parameters

Parameter

Description

Index

Which sequential point

NumCells

Size of cell grid, 1 to 32768. Rounded up to the next power of two

PreviousValue

The Sobol value for Index-1

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss