Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Distributions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDistribution
- UDistributionVector
- UDistributionVectorUniform
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionVectorUniform.h |
Include | #include "Distributions/DistributionVectorUniform.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, EditInlineNew, MinimalAPI)
class UDistributionVectorUniform : 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. | |
uint32: 1 | bUseExtremes | ||
TEnumAsByte< enum EDistributionVectorLockFlags > | LockedAxes | ||
FVector | Max | Upper end of FVector magnitude range. | |
FVector | Min | Lower end of FVector magnitude range. | |
TEnumAsByte< enum EDistributionVectorMirrorFlags >[3] | MirrorFlags |
Constructors
Type | Name | Description | |
---|---|---|---|
UDistributionVectorUniform
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
FVector | GetMaxValue () |
||
FVector | GetMinValue () |
These two functions will retrieve the Min/Max values respecting the Locked and Mirror flags. |
Overridden from UDistributionVector
Type | Name | Description | |
---|---|---|---|
uint8 | GetLockFlag () |
Returns the lock axes flag used at runtime to swizzle random stream values. | |
ERawDistributionOperation | GetOperation () |
Return the operation used at runtime to calculate the final value | |
void | |||
FVector | GetValue
(
float F, |
||
uint32 | InitializeRawEntry
(
float Time, |
Fill out an array of vectors 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 | 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 () |
We have 6 subs, 3 mins and three maxes. | |
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. |