Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FComposableDistribution
- FComposableFloatDistribution
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Distributions.h |
Include | #include "Distributions.h" |
Syntax
class FComposableFloatDistribution : public FComposableDistribution
Remarks
A composable floating point distribution.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. | ||
![]() |
FComposableFloatDistribution
(
const FComposableFloatDistribution& Other |
Copy constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddDistribution
(
const UDistributionFloat* FloatDistribution |
Adds each sample in the distribution to the corresponding sample in another distribution. |
![]() |
void | Initialize
(
const UDistributionFloat* FloatDistribution |
Initializes this distribution from that specified. |
![]() |
void | InitializeWithConstant
(
float Value |
Initializes this distribution with a constant value. |
![]() |
void | Normalize
(
float* OutScale, |
Normalizes each value to [0,1] and return a scale and bias to reconstruct the original values. |
![]() |
void | Resample
(
float MinIn, |
Resamples the distribution to include only information from [MinIn,MaxIn]. |
![]() |
void | ScaleByConstant
(
float Scale |
Scales each sample in the distribution by a constant. |
![]() |
void | ScaleByDistribution
(
const UDistributionFloat* FloatDistribution |
Scale each sample in the distribution by the corresponding sample in another distribution. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
const FComposableFloatDistribution & | operator=
(
const FComposableFloatDistribution& Other |
Assignment operator. |