UImportanceSamplingLibrary::RandomSobolFloat

Sobol quasi-random generator functions

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 float RandomSobolFloat
(
    int32 Index,
    int32 Dimension,
    float Seed
)

Remarks

Sobol quasi-random generator functions

Returns

Sobol-distributed random number between 0 and 1

Parameters

Parameter

Description

Index

Which sequential point

Dimension

Which Sobol dimension (0 to 15)

Seed

Random seed (in the range 0-1) to randomize across multiple sequences

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