UDistributionVector

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Distributions/DistributionVector.h

Include

#include "Distributions/DistributionVector.h"

Syntax

class UDistributionVector : public UDistribution

Variables

Name Description

Protected variable

uint32: 1

 

bBakedDataSuccesfully

Public variable

uint32: 1

 

bCanBeBaked

Can this variable be baked out to a FRawDistribution? Should be true 99% of the time

Public variable

uint32: 1

 

bIsDirty

Set internally when the distribution is updated so that that FRawDistribution can know to update itself

Constructors

Name Description

Public function

UDistributionVector

(
    const FObjectInitializer& ObjectIn...
)

Public function

UDistributionVector

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual Const

bool

 

CanBeBaked()

Public function Virtual Const

uint8

 

GetLockFlag()

Returns the lock axes flag used at runtime to swizzle random stream values.

Public function Virtual Const

ERawDistribu...

 

GetOperation()

Return the operation used at runtime to calculate the final value

Public function Virtual Const

void

 

GetRange

(
    FVector& OutMin,
    FVector& OutMax
)

Public function Virtual Const

FVector

 

GetValue

(
    float F,
    UObject* Data,
    int32 LastExtreme,
    FRandomStream* InRandomStream
)

Public function Const

int32

 

GetValueCount()

Returns the number of values in the distribution. 3 for vector.

Public function Virtual

FVector

 

GetVectorValue

(
    float F
)

Script-accessible way to query a FVector distribution

Public function Const

bool

 

HasBakedSuccesfully()

Public function Virtual Const

uint32

 

InitializeRawEntry

(
    float Time,
    float* Values
)

Fill out an array of vectors and return the number of elements in the entry

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

NeedsLoadForClient()

Called during saving to determine the load flags to save with the object.

Public function Virtual Const

bool

 

NeedsLoadForEditorGame()

Called during saving to include this object in client/servers running in editor builds, even if they wouldn't normally be.

Public function Virtual Const

bool

 

NeedsLoadForServer()

Called during saving to determine the load flags to save with the object.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Begin UObject interface

Public function Virtual

void

 

Serialize

(
    FStructuredArchive::FRecord Record
)

Handles reading, writing, and reference collecting using FArchive.

Overridden from FCurveEdInterface

Name Description

Public function Virtual Const

void

 

GetInRange

(
    float& MinIn,
    float& MaxIn
)

Get input range of keys. Outside this region curve continues constantly the start/end values.

Public function Virtual Const

void

 

GetOutRange

(
    float& MinOut,
    float& MaxOut
)

Get overall range of output 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