FComposableVectorDistribution

Windows
MacOS
Linux

Inheritance Hierarchy

FComposableDistribution

FComposableVectorDistribution

Syntax

class FComposableVectorDistribution : public FComposableDistribution

Constructors

Name Description

Public function

FComposableVectorDistribution()

Default constructor.

Public function

FComposableVectorDistribution

(
    const FComposableVectorDistribution...
)

Copy constructor.

Functions

Name Description

Public function

void

 

AddConstantVector

(
    const FVector& Value
)

Adds a constant vector to each sample in the distribution.

Public function

void

 

AddDistribution

(
    const UDistributionVector* Vec...
)

Adds each sample in the distribution to the corresponding sample in another distribution.

Public function

void

 

Initialize

(
    const UDistributionVector* Vec...
)

Initializes this distribution from that specified.

Public function

void

 

InitializeWithConstant

(
    const FVector& Value
)

Initializes this distribution with a constant value.

Public function

void

 

Resample

(
    float MinIn,
    float MaxIn
)

Resamples the distribution to include only information from [MinIn,MaxIn].

Public function

void

 

ScaleByConstant

(
    float Scale
)

Scales each sample in the distribution by a constant.

Public function

void

 

ScaleByConstantVector

(
    const FVector& Scale
)

Scales each sample in the distribution by a constant vector.

Public function

void

 

ScaleByDistribution

(
    const UDistributionFloat* Floa...
)

Scale each sample in the distribution by the corresponding sample in another distribution.

Public function

void

 

ScaleByVectorDistribution

(
    const UDistributionVector* Vec...
)

Scale each sample in the distribution by the corresponding sample in another distribution.

Public function

void

 

Splat

(
    int32 ChannelIndex
)

Splats the specified channel to all channels in the distribution.

Operators

Name Description

Public function

const FCompo...

 

operator=

(
    const FComposableVectorDistribution...
)

Assignment operator.

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