Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Distributions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDistribution
- UDistributionVector
- UDistributionVectorConstant
- UDistributionVectorParameterBase
- UDistributionVectorParticleParameter
- UDistributionVectorConstantCurve
- UDistributionVectorUniform
- UDistributionVectorUniformCurve
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionVector.h |
| Include | #include "Distributions/DistributionVector.h" |
Syntax
class UDistributionVector : public UDistribution
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bBakedDataSuccesfully | ||
| uint8: 1 | bCanBeBaked | Can this variable be baked out to a FRawDistribution? Should be true 99% of the time | |
| uint8: 1 | bIsDirty | Set internally when the distribution is updated so that that FRawDistribution can know to update itself |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDistributionVector
(
const FObjectInitializer& ObjectInitializer |
|||
UDistributionVector
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanBeBaked () |
||
| 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 | GetRange
(
FVector& OutMin, |
||
| FVector | GetValue
(
float F, |
||
| int32 | Returns the number of values in the distribution. 3 for vector. | ||
| FVector | GetVectorValue
(
float F |
Script-accessible way to query a FVector distribution | |
| bool | |||
| 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 | |
|---|---|---|---|
| bool | Called during saving to determine the load flags to save with the object. | ||
| bool | Called during saving to include this object in client/servers running in editor builds, even if they wouldn't normally be. | ||
| bool | Called during saving to determine the load flags to save with the object. | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Begin UObject interface | |
| void | Serialize
(
FStructuredArchive::FRecord Record |
Handles reading, writing, and reference collecting using FArchive. |
Overridden from FCurveEdInterface
| Type | Name | Description | |
|---|---|---|---|
| void | GetInRange
(
float& MinIn, |
Get input range of keys. Outside this region curve continues constantly the start/end values. | |
| void | GetOutRange
(
float& MinOut, |
Get overall range of output values. |