Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Distributions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDistribution
- UDistributionVector
- UDistributionVectorConstantCurve
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionVectorConstantCurve.h |
Include | #include "Distributions/DistributionVectorConstantCurve.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, EditInlineNew, MinimalAPI)
class UDistributionVectorConstantCurve : public UDistributionVector
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint32: 1 | bLockAxes | If true, X == Y == Z ie. only one degree of freedom. If false, each axis is picked independently. |
![]() ![]() ![]() |
FInterpCurveVector | ConstantCurve | Keyframe data for each component (X,Y,Z) over time. |
![]() ![]() ![]() |
TEnumAsByte< enum EDistributionVectorLockFlags > | LockedAxes |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UDistributionVectorConstantCurve
(
const FObjectInitializer& ObjectInitializer |
Overridden from UDistributionVector
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | ||
![]() ![]() ![]() |
FVector | 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. |
![]() ![]() ![]() |
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 | 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. |