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()

  1. 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.

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