FVectorDistribution

Raw distribution from which three floats can be looked up per entry.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Distributions.h"

Syntax

class FVectorDistribution

Remarks

Raw distribution from which three floats can be looked up per entry.

Constructors

Name Description

Public function

FVectorDistribution()

Default constructor.

Functions

Name Description

Public function Const

void

 

GetRandomValue

(
    float Time,
    float*__restrict OutValue,
    FRandomStream& RandomStream
)

Samples a value randomly distributed between two values.

Public function

void

 

GetRange

(
    FVector* OutMin,
    FVector* OutMax
)

Computes the range of the distribution.

Public function Const

void

 

GetValue

(
    float Time,
    float*__restrict OutValue
)

Samples a value from the distribution.

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