Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Distributions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDistribution
- UDistributionFloat
- UDistributionFloatConstantCurve
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionFloatConstantCurve.h |
| Include | #include "Distributions/DistributionFloatConstantCurve.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, EditInlineNew, MinimalAPI)
class UDistributionFloatConstantCurve : public UDistributionFloat
Variables
| Type | Name | Description | |
|---|---|---|---|
| FInterpCurveFloat | ConstantCurve | Keyframe data for how output constant varies over time. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDistributionFloatConstantCurve
(
const FObjectInitializer& ObjectInitializer |
Overridden from UDistributionFloat
| Type | Name | Description | |
|---|---|---|---|
| float | GetValue
(
float F, |
Overridden from FCurveEdInterface
| Type | Name | Description | |
|---|---|---|---|
| int32 | CreateNewKey
(
float KeyIn |
Add a new key to the curve with the specified input. | |
| void | Remove the specified key from the curve. KeyIndex must be within range ie >=0 and < NumKeys. | ||
| float | 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 | Get the input value for the Key with the specified index. | ||
| EInterpCurveMode | GetKeyInterpMode
(
int32 KeyIndex |
Get the interpolation mode of the specified keyframe. | |
| float | 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. | |
| void | GetTangents
(
int32 SubIndex, |
Get the incoming and outgoing tangent for the given subcurve and key. | |
| int32 | 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 | Set the output values of the specified key. | ||
| void | SetTangents
(
int32 SubIndex, |
Set the incoming and outgoing tangent for the given subcurve and key. |