Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Distributions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDistribution
- UDistributionVector
- UDistributionVectorConstant
- UDistributionVectorParameterBase
- UDistributionVectorParticleParameter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionVectorConstant.h |
| Include | #include "Distributions/DistributionVectorConstant.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, EditInlineNew, MinimalAPI)
class UDistributionVectorConstant : 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. | |
| FVector | Constant | This FVector will be returned for all input times. | |
| TEnumAsByte< enum EDistributionVectorLockFlags > | LockedAxes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDistributionVectorConstant
(
const FObjectInitializer& ObjectInitializer |
Overridden from UDistributionVector
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| FVector | GetValue
(
float F, |
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 | 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. |