FSobol::Next

Evaluate next Sobol number from within a 2D cell

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Sobol.h

Include

#include "Math/Sobol.h"

Source

/Engine/Source/Runtime/Core/Private/Math/Sobol.cpp

Syntax

static FVector2D Next
(
    int32 Index,
    int32 CellBits,
    FVector2D Value
)

Remarks

Evaluate next Sobol number from within a 2D cell

Returns

The 2D Sobol result in the range 0-1 given Index

Parameters

Parameter

Description

Index

The index for the Sobol number to generate.

CellBits

Number of bits in cell coordinates.

Value

The value for the Sobol number at 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