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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback