Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Distributions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDistribution
- UDistributionFloat
- UDistributionFloatUniform
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionFloatUniform.h |
| Include | #include "Distributions/DistributionFloatUniform.h" |
Syntax
class UDistributionFloatUniform : public UDistributionFloat
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Max | High end of output float distribution. | |
| float | Min | Low end of output float distribution. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDistributionFloatUniform
(
const FObjectInitializer& ObjectInitializer |
Overridden from UDistributionFloat
| Type | Name | Description | |
|---|---|---|---|
| ERawDistributionOperation | GetOperation () |
Return the operation used at runtime to calculate the final value | |
| float | GetValue
(
float F, |
||
| uint32 | InitializeRawEntry
(
float Time, |
Fill out an array of floats and return the number of elements in the entry |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Overridden from FCurveEdInterface
| Type | Name | Description | |
|---|---|---|---|
| int32 | CreateNewKey
(
float KeyIn |
Add a new key to the curve with the specified input. | |
| void | DeleteKey
(
int32 KeyIndex |
Remove the specified key from the curve. KeyIndex must be within range ie >=0 and < NumKeys. | |
| float | EvalSub
(
int32 SubIndex, |
Evaluate a subcurve at an arbitary point. | |
| void | GetInRange
(
float& MinIn, |
Get input range of keys. Outside this region curve continues constantly the start/end values. | |
| FColor | GetKeyColor
(
int32 SubIndex, |
Provides the color for the given key at the given sub-curve. | |
| float | GetKeyIn
(
int32 KeyIndex |
Get the input value for the Key with the specified index. | |
| EInterpCurveMode | GetKeyInterpMode
(
int32 KeyIndex |
Get the interpolation mode of the specified keyframe. | |
| float | GetKeyOut
(
int32 SubIndex, |
Get the output value for the key with the specified index on the specified sub-curve. | |
| int32 | GetNumKeys () |
Get number of keyframes in curve. | |
| int32 | Get number of 'sub curves' in this Curve. | ||
| void | GetOutRange
(
float& MinOut, |
Get overall range of output values. | |
| FColor | GetSubCurveButtonColor
(
int32 SubCurveIndex, |
Provides the color for the sub-curve button that is present on the curve tab. | |
| void | GetTangents
(
int32 SubIndex, |
Get the incoming and outgoing tangent for the given subcurve and key. | |
| int32 | SetKeyIn
(
int32 KeyIndex, |
Set the input value of the specified Key. | |
| void | SetKeyInterpMode
(
int32 KeyIndex, |
Set the method to use for interpolating between the give keyframe and the next one. | |
| void | SetKeyOut
(
int32 SubIndex, |
Set the output values of the specified key. | |
| void | SetTangents
(
int32 SubIndex, |
Set the incoming and outgoing tangent for the given subcurve and key. |