UDistributionFloatUniformCurve

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Distributions/DistributionFloatUniformCurve.h

Include

#include "Distributions/DistributionFloatUniformCurve.h"

Syntax

class UDistributionFloatUniformCurve : public UDistributionFloat

Variables

Name Description

Public variable

FInterpCurveVec...

 

ConstantCurve

Keyframe data for how output constant varies over time.

Constructors

Name Description

Public function

UDistributionFloatUniformCurve

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual Const

FVector2D

 

GetMinMaxValue

(
    float F,
    UObject* Data
)

This function will retrieve the max and min values at the given time.

Overridden from UDistributionFloat

Name Description

Public function Virtual Const

ERawDistribu...

 

GetOperation()

Return the operation used at runtime to calculate the final value

Public function Virtual Const

float

 

GetValue

(
    float F,
    UObject* Data,
    FRandomStream* InRandomStream
)

Public function Virtual Const

uint32

 

InitializeRawEntry

(
    float Time,
    float* Values
)

Fill out an array of floats and return the number of elements in the entry

Overridden from FCurveEdInterface

Name Description

Public function Virtual

int32

 

CreateNewKey

(
    float KeyIn
)

Add a new key to the curve with the specified input.

Public function Virtual

void

 

DeleteKey

(
    int32 KeyIndex
)

Remove the specified key from the curve. KeyIndex must be within range ie >=0 and < NumKeys.

Public function Virtual

float

 

EvalSub

(
    int32 SubIndex,
    float InVal
)

Evaluate a subcurve at an arbitary point.

Public function Virtual Const

void

 

GetInRange

(
    float& MinIn,
    float& MaxIn
)

Get input range of keys. Outside this region curve continues constantly the start/end values.

Public function Virtual

FColor

 

GetKeyColor

(
    int32 SubIndex,
    int32 KeyIndex,
    const FColor& CurveColor
)

Provides the color for the given key at the given sub-curve.

Public function Virtual

float

 

GetKeyIn

(
    int32 KeyIndex
)

Get the input value for the Key with the specified index.

Public function Virtual Const

EInterpCurve...

 

GetKeyInterpMode

(
    int32 KeyIndex
)

Get the interpolation mode of the specified keyframe.

Public function Virtual

float

 

GetKeyOut

(
    int32 SubIndex,
    int32 KeyIndex
)

Get the output value for the key with the specified index on the specified sub-curve.

Public function Virtual Const

int32

 

GetNumKeys()

Get number of keyframes in curve.

Public function Virtual Const

int32

 

GetNumSubCurves()

Get number of 'sub curves' in this Curve.

Public function Virtual Const

void

 

GetOutRange

(
    float& MinOut,
    float& MaxOut
)

Get overall range of output values.

Public function Virtual Const

FColor

 

GetSubCurveButtonColor

(
    int32 SubCurveIndex,
    bool bIsSubCurveHidden
)

Provides the color for the sub-curve button that is present on the curve tab.

Public function Virtual Const

void

 

GetTangents

(
    int32 SubIndex,
    int32 KeyIndex,
    float& ArriveTangent,
    float& LeaveTangent
)

Get the incoming and outgoing tangent for the given subcurve and key.

Public function Virtual

int32

 

SetKeyIn

(
    int32 KeyIndex,
    float NewInVal
)

Set the input value of the specified Key.

Public function Virtual

void

 

SetKeyInterpMode

(
    int32 KeyIndex,
    EInterpCurveMode NewMode
)

Set the method to use for interpolating between the give keyframe and the next one.

Public function Virtual

void

 

SetKeyOut

(
    int32 SubIndex,
    int32 KeyIndex,
    float NewOutVal
)

Set the output values of the specified key.

Public function Virtual

void

 

SetTangents

(
    int32 SubIndex,
    int32 KeyIndex,
    float ArriveTangent,
    float LeaveTangent
)

Set the incoming and outgoing tangent for the given subcurve and key.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback