UInterpTrackAnimControl

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Matinee/InterpTrackAnimControl.h"

Syntax

class UInterpTrackAnimControl : public UInterpTrackFloatBase

Variables

Name Description

Public variable

TArray< struct ...

 

AnimSeqs

Track of different animations to play and when to start playing them.

Public variable

uint32: 1

 

bSkipAnimNotifiers

Skip all anim notifiers

Public variable

FName

 

SlotName

Name of slot to use when playing animation.

Constructors

Name Description

Public function

UInterpTrackAnimControl

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

int32

 

CalcChannelIndex()

Calculate the index of this Track within its Slot (for when multiple tracks are using same slot).

Public function

float

 

ConditionallyReversePosition

(
    FAnimControlTrackKey& SeqKey,
    UAnimSequence* Seq,
    float InPosition
)

Calculates the reversed time for a sequence key, if the key has bReverse set.

Public function

int32

 

CropKeyAtPosition

(
    float InPosition,
    bool bCutAreaBeforePosition
)

Crops the key at the position specified, by deleting the area of the key before or after the position.

Public function

bool

 

GetAnimForTime

(
    float InTime,
    UAnimSequence** OutAnimSeq...,
    float& OutPosition,
    bool& bOutLooping
)

Find the animation name and position for the given point in the track timeline.

Public function

float

 

GetWeightForTime

(
    float InTime
)

Get the strength that the animation from this track should be blended in with at the give time.

Public function

int32

 

SplitKeyAtPosition

(
    float InPosition
)

Utility to split the animation we are currently over into two pieces at the current position.

Overridden from UInterpTrack

Name Description

Public function Virtual

int32

 

AddKeyframe

(
    float Time,
    UInterpTrackInst* TrInst,
    EInterpCurveMode InitInterpMode
)

Adds a keyframe at the given time to the track.

Public function Virtual

void

 

DrawTrack

(
    FCanvas* Canvas,
    UInterpGroup* Group,
    const FInterpTrackDrawParams& Para...
)

Draw this track with the specified parameters

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

const FStrin...

 

GetEdHelperClassName()

Get the name of the class used to help out when adding tracks, keys, etc. in UnrealEd.

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

const FStrin...

 

GetSlateHelperClassName()

Get the name of the class used to help out when adding tracks, keys, etc. in Slate.

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 Const

UTexture2D &...

 

GetTrackIcon()

Public function Virtual

void

 

PreviewUpdateTrack

(
    float NewPosition,
    UInterpTrackInst* TrInst
)

Updates the instance of this track based on the new position. This is for editor preview.

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.

Public function Virtual

void

 

UpdateTrack

(
    float NewPosition,
    UInterpTrackInst* TrInst,
    bool bJump
)

Updates the instance of this track based on the new position.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Overridden from FInterpEdInputInterface

Name Description

Public function Virtual

void

 

BeginDrag

(
    FInterpEdInputData& InputData
)

Lets the interface object know that we are beginning a drag operation.

Public function Virtual

void

 

EndDrag

(
    FInterpEdInputData& InputData
)

Lets the interface object know that we are ending a drag operation.

Public function Virtual

EMouseCursor...

 

GetMouseCursor

(
    FInterpEdInputData& InputData
)

Public function Virtual

void

 

ObjectDragged

(
    FInterpEdInputData& InputData
)

Called when an object is dragged.

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