UInterpTrackEvent

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Matinee/InterpTrackEvent.h"

Syntax

class UInterpTrackEvent : public UInterpTrack

Variables

Name Description

Public variable

uint32: 1

 

bFireEventsWhenBackwards

If events should be fired when passed playing the sequence backwards.

Public variable

uint32: 1

 

bFireEventsWhenForwards

If events should be fired when passed playing the sequence forwards.

Public variable

uint32: 1

 

bFireEventsWhenJumpingForwards

If true, events on this track are fired even when jumping forwads through a sequence - for example, skipping a cinematic.

Public variable

uint32: 1

 

bUseCustomEventName

If checked each key's event name is the exact name of the custom event function in level script that will be called

Public variable

TArray< struct ...

 

EventTrack

Array of events to fire off.

Constructors

Name Description

Public function

UInterpTrackEvent

(
    const FObjectInitializer& ObjectIn...
)

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

bool

 

AllowStaticActors()

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

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.

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