FRawDistribution

Raw distribution used to quickly sample distributions at runtime.

Windows
MacOS
Linux

Inheritance Hierarchy

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

(
    UStructProperty* Property,
    uint8* Data
)

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

References

Module

Engine

Header

Runtime/Engine/Public/Distributions.h

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