FSobol::Evaluate

Evaluate Sobol number from within a 2D cell at given index

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 Evaluate
(
    int32 Index,
    int32 CellBits,
    FIntPoint Cell,
    FIntPoint Seed
)

Remarks

Evaluate Sobol number from within a 2D cell at given index

Returns

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

Parameters

Parameter

Description

Index

The index to evaluate.

Cell

Integer cell coordinates.

CellBits

Number of bits in cell coordinates.

Seed

A 24-bit per component 2D seed for shuffling values

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