UImportanceSamplingLibrary::RandomSobolCell3D

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 FVector RandomSobolCell3D
(
    int32 Index,
    int32 NumCells,
    FVector Cell,
    FVector Seed
)

Returns

Sobol-distributed random 3D vector in the given grid cell

Parameters

Parameter

Description

Index

Which sequential point in the cell (starting at 0)

NumCells

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

Cell

Give a point from this integer grid cell

Seed

Random 3D seed (components 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