UInterpTrackVectorBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Matinee/InterpTrackVectorBase.h

Include

#include "Matinee/InterpTrackVectorBase.h"

Syntax

class UInterpTrackVectorBase : public UInterpTrack

Variables

Name Description

Public variable

float

 

CurveTension

Tension of curve, used for keypoints using automatic tangents.

Public variable

FInterpCurveVec...

 

VectorTrack

Actually track data containing keyframes of a FVector as it varies over time.

Constructors

Name Description

Public function

UInterpTrackVectorBase

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UInterpTrack

Name Description

Public function Virtual

int32

 

DuplicateKeyframe

(
    int32 KeyIndex,
    float NewKeyTime,
    UInterpTrack* ToTrack
)

Duplicates the given key.

Public function Virtual

bool

 

GetClosestSnapPosition

(
    float InPosition,
    TArray< int32 >& IgnoreKeys,
    float& OutPosition
)

Gets the position of the closest key with snapping incorporated.

Public function Virtual Const

FColor

 

GetKeyframeColor

(
    int32 KeyIndex
)

Public function Virtual Const

int32

 

GetKeyframeIndex

(
    float KeyTime
)

Get the index of the keyframe with the given time.

Public function Virtual Const

float

 

GetKeyframeTime

(
    int32 KeyIndex
)

Get the time of the keyframe with the given index.

Public function Virtual Const

int32

 

GetNumKeyframes()

Public function Virtual Const

void

 

GetTimeRange

(
    float& StartTime,
    float& EndTime
)

Gathers the range that spans all keyframes.

Public function Virtual Const

float

 

GetTrackEndTime()

Public function Virtual

void

 

RemoveKeyframe

(
    int32 KeyIndex
)

Removes the given key from the array of keys in the track.

Public function Virtual

int32

 

SetKeyframeTime

(
    int32 KeyIndex,
    float NewKeyTime,
    bool bUpdateOrder
)

Changes the time of the given key with the new given time.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

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