UInterpTrack

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Matinee/InterpTrack.h"

Syntax

class UInterpTrack :
    public UObject,
    public FCurveEdInterface,
    public FInterpEdInputInterface

Variables

Name Description

Public variable

TEnumAsByte< en...

 

ActiveCondition

Sets the condition that must be met for this track to be enabled

Public variable

uint32: 1

 

bDirGroupOnly

If this track can only exist inside the Director group.

Public variable

uint32: 1

 

bIsAnimControlTrack

If true, the AActor this track is working on will have BeginAnimControl/FinishAnimControl called on it.

Public variable

uint32: 1

 

bIsCollapsed

If this track is collapsed. (Only applies to tracks with subtracks).

Public variable

uint32: 1

 

bIsRecording

Whether or not this track is recording in the editor.

Public variable

uint32: 1

 

bOnePerGroup

Whether there may only be one of this track in an UInterpGroup.

Public variable

uint32: 1

 

bSubTrackOnly

If this track can only exist as a sub track.

Public variable

uint32: 1

 

bVisible

Whether or not this track is visible in the editor.

Public variable

TArray< struct ...

 

SubTrackGroups

A list of subtrack groups (for editor UI organization only)

Public variable

TArray< class U...

 

SubTracks

A list of subtracks that belong to this track

Public variable

TArray< struct ...

 

SupportedSubTracks

A list of supported tracks that can be a subtrack of this track.

Public variable

UTexture2D *...

 

TrackIcon

Public variable

TSubclassOf< cl...

 

TrackInstClass

Public variable

FString

 

TrackTitle

Title of track type.

Constructors

Name Description

Public function

UInterpTrack

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

int32

 

AddChildKeyframe

(
    UInterpTrack* ChildTrack,
    float Time,
    UInterpTrackInst* TrackInst,
    EInterpCurveMode InitInterpMode
)

Adds a keyframe to a child track

Public function Virtual

int32

 

AddKeyframe

(
    float Time,
    UInterpTrackInst* TrInst,
    EInterpCurveMode InitInterpMode
)

Adds a keyframe at the given time to the track.

Public function Virtual

bool

 

AllowStaticActors()

Public function Virtual

void

 

ApplyWorldOffset

(
    const FVector& InOffset,
    bool bWorldShift
)

Called by owning actor on position shifting

Public function Virtual

bool

 

CanAddChildKeyframe

(
    UInterpTrackInst* TrackInst
)

Can a keyframe be added to a child track?

Public function Virtual

bool

 

CanAddKeyframe

(
    UInterpTrackInst* TrackInst
)

Can a keyframe be added to the track?

Public function Virtual

void

 

ConditionalPreviewUpdateTrack

(
    float NewPosition,
    UInterpTrackInst* TrInst
)

Conditionally calls PreviewUpdateTrack depending on whether or not the track is enabled.

Public function Virtual

void

 

ConditionalUpdateTrack

(
    float NewPosition,
    UInterpTrackInst* TrInst,
    bool bJump
)

Conditionally calls UpdateTrack depending on whether or not the track is enabled.

Public function Virtual

void

 

CreateSubTracks

(
    bool bCopy
)

Creates and adds subtracks to this 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

void

 

EnableTrack

(
    bool bInEnable,
    bool bPropagateToSubTracks
)

Enables this track and optionally, all subtracks.

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

UInterpGroup...

 

GetOwningGroup()

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 Const

bool

 

IsDisabled()

Returns true if this track has been disabled.

Public function Const

bool

 

IsSelected()

Returns true if this track has been selected.

Public function Virtual

void

 

PreviewStopPlayback

(
    UInterpTrackInst* TrInst
)

Called when playback is stopped in Matinee. Useful for stopping sounds etc.

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

 

ReduceKeys

(
    float IntervalStart,
    float IntervalEnd,
    float Tolerance
)

Reduce Keys within Tolerance

Public function Virtual

void

 

RemoveKeyframe

(
    int32 KeyIndex
)

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

Public function Virtual

void

 

Render3DTrack

(
    UInterpTrackInst* TrInst,
    const FSceneView* View,
    FPrimitiveDrawInterface* PDI,
    int32 TrackIndex,
    const FColor& TrackColor,
    TArray< struct FInterpEdSelKey >& ...
)

For drawing track information into the 3D scene.

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

 

SetSelected

(
    bool bInSelected
)

Selects this track

Public function Virtual

void

 

SetTrackToSensibleDefault()

Set this track to sensible default values. Called when track is first created.

Public function Virtual

void

 

UpdateChildKeyframe

(
    UInterpTrack* ChildTrack,
    int32 KeyIndex,
    UInterpTrackInst* TrackInst
)

Updates a child track keyframe

Public function Virtual

void

 

UpdateKeyframe

(
    int32 KeyIndex,
    UInterpTrackInst* TrInst
)

Changes the value of an existing keyframe.

Public function Virtual

void

 

UpdateTrack

(
    float NewPosition,
    UInterpTrackInst* TrInst,
    bool bJump
)

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

Overridden from FInterpEdInputInterface

Name Description

Public function Virtual

UObject *...

 

GetUObject()

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