Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Distributions
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDistribution
- UDistributionFloat
- UDistributionFloatConstant
- UDistributionFloatParameterBase
- UDistributionFloatParticleParameter
- UDistributionFloatConstantCurve
- UDistributionFloatUniform
- UDistributionFloatUniformCurve
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Distributions/DistributionFloat.h |
| Include | #include "Distributions/DistributionFloat.h" |
Syntax
UCLASS (Abstract, CustomConstructor, MinimalAPI)
class UDistributionFloat : 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 | |
|---|---|---|---|
UDistributionFloat
(
const FObjectInitializer& ObjectInitializer |
|||
UDistributionFloat
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanBeBaked () |
||
| float | GetFloatValue
(
float F |
Script-accessible way to query a float distribution | |
| 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 | |
| float | GetValue
(
float F, |
||
| int32 | Returns the number of values in the distribution. 1 for float. | ||
| bool | |||
| uint32 | InitializeRawEntry
(
float Time, |
Fill out an array of floats 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 |
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. |