FVector4Distribution

Raw distribution from which four 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 FVector4Distribution

Remarks

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

Constructors

Name Description

Public function

FVector4Distribution()

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

(
    FVector4* OutMin,
    FVector4* OutMax
)

Computes the range of the distribution.

Public function Const

void

 

GetValue

(
    float Time,
    float*__restrict OutValue
)

Samples a value from the distribution.

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