FDistributionLookupTable

Lookup table used to sample distributions at runtime.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Distributions.h

Include

#include "Distributions.h"

Syntax

struct FDistributionLookupTable

Remarks

Lookup table used to sample distributions at runtime.

Variables

Name Description

Public variable

uint8

 

EntryCount

Number of entries in the table.

Public variable

uint8

 

EntryStride

Number of values between entries [1,8].

Public variable

uint8

 

LockFlag

Lock axes flag for vector distributions.

Public variable

uint8

 

Op

Operation for which the table was built.

Public variable

uint8

 

SubEntryStride

Number of values between sub-entries [0,4].

Public variable

float

 

TimeBias

Absolute time of the first value

Public variable

float

 

TimeScale

Time between values in the lookup table

Public variable

TArray< float >

 

Values

Values in the table.

Constructors

Name Description

Public function

FDistributionLookupTable()

Default constructor.

Functions

Name Description

Public function

void

 

Empty()

Empties the table of all values.

Public function Const

void

 

GetEntry

(
    float Time,
    const float*& Entry1,
    const float*& Entry2,
    float& LerpAlpha
)

Get the entry for Time and the one after it for interpolating (along with an alpha for interpolation)

Public function

void

 

GetRange

(
    float* OutMinValues,
    float* OutMaxValues
)

Get the range of values produced by the table.

Public function Const

float

 

GetValueCount()

Compute the number of values contained in the table.

Public function Const

float

 

GetValuesPerEntry()

Computes the number of Values per entry in the table.

Public function Const

bool

 

IsEmpty()

Returns true if the lookup table contains no 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