FRawDistribution

Raw distribution used to quickly sample distributions at runtime.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Distributions.h"

Syntax

struct FRawDistribution

Remarks

Raw distribution used to quickly sample distributions at runtime.

Variables

Name Description

Protected variable

FDistributionLo...

 

LookupTable

Lookup table of values

Constructors

Name Description

Public function

FRawDistribution()

Default constructor.

Functions

Name Description

Public function Const

void

 

GetValue

(
    float Time,
    float* Value,
    int32 NumCoords,
    int32 Extreme,
    FRandomStream* InRandomStream
)

Calcuate the float or vector value at the given time

Public function Const

void

 

GetValue1

(
    float Time,
    float* Value,
    int32 Extreme,
    FRandomStream* InRandomStream
)

Prebaked versions of these

Public function Const

void

 

GetValue1Extreme

(
    float Time,
    float* Value,
    int32 Extreme,
    FRandomStream* InRandomStream
)

Public function Const

void

 

GetValue1None

(
    float Time,
    float* InValue
)

Public function Const

void

 

GetValue1Random

(
    float Time,
    float* Value,
    FRandomStream* InRandomStream
)

Public function Const

void

 

GetValue3

(
    float Time,
    float* Value,
    int32 Extreme,
    FRandomStream* InRandomStream
)

Public function Const

void

 

GetValue3Extreme

(
    float Time,
    float* Value,
    int32 Extreme,
    FRandomStream* InRandomStream
)

Public function Const

void

 

GetValue3None

(
    float Time,
    float* InValue
)

Public function Const

void

 

GetValue3Random

(
    float Time,
    float* Value,
    FRandomStream* InRandomStream
)

Public function

bool

 

IsSimple()

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Serialization.

Public function Static

UObject *...

 

TryGetDistributionObjectFromRawDistributionProperty

(
    FStructProperty* Property,
    uint8* Data
)

Return the UDistribution* variable if the given StructProperty points to a FRawDistribution* struct

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