FComposableDistribution

Base class for composable distributions.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Distributions.h"

Syntax

class FComposableDistribution

Remarks

Base class for composable distributions. Responsible for building the final distributions that can be sampled.

Variables

Name Description

Protected variable

FDistributionLo...

 

LookupTable

The lookup table.

Constructors

Name Description

Protected function

FComposableDistribution()

Constructor. Protected to prevent instantiating the base class.

Protected function

FComposableDistribution

(
    const FComposableDistribution& Oth...
)

Copy constructor. Protected to only allow type-safe copying.

Destructors

Name Description

Protected function

~FComposableDistribution()

Destructor.

Functions

Name Description

Public function Static

void

 

BuildFloat

(
    FFloatDistribution& OutDistributio...,
    const FComposableFloatDistribution ...
)

Constructs a type-safe floating point distribution.

Public function Static

void

 

BuildVector

(
    FVectorDistribution& OutDistributi...,
    const FComposableVectorDistribution...
)

Constructs a type-safe vector distribution.

Public function Static

void

 

BuildVector4

(
    FVector4Distribution& OutDistribut...,
    const FComposableVectorDistribution...,
    const FComposableFloatDistribution ...
)

Constructs a type-safe 4-vector distribution.

Public function Static

void

 

BuildVector4

(
    FVector4Distribution& OutDistribut...,
    const FComposableVectorDistribution...,
    const FComposableFloatDistribution ...,
    const FComposableFloatDistribution ...
)

Constructs a type-safe 4-vector distribution.

Public function Static

void

 

BuildVector4

(
    FVector4Distribution& OutDistribut...,
    const FComposableFloatDistribution ...,
    const FComposableFloatDistribution ...,
    const FComposableFloatDistribution ...,
    const FComposableFloatDistribution ...
)

Constructs a type-safe 4-vector distribution.

Public function Static

void

 

QuantizeVector4

(
    TArray< FColor >& OutQuantizedSamp...,
    FVector4& OutScale,
    FVector4& OutBias,
    const FVector4Distribution& Distri...
)

Quantizes a 4-component vector distribution.

Operators

Name Description

Protected function

const FCompo...

 

operator=

(
    const FComposableDistribution& Oth...
)

Assignment operator. Protected to only allow type-safe copying.

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