FTimeline

Syntax

struct FTimeline

Constructors

Name Description

Public function

FTimeline()

Functions

Name Description

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

AddEvent

(
    float Time,
    FOnTimelineEvent EventFunc
)

Add a callback event to the timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

AddInterpFloat

(
    UCurveFloat * FloatCurve,
    FOnTimelineFloat InterpFunc,
    FName PropertyName,
    FName TrackName
)

Add a float interpolation to the timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

AddInterpFloat

(
    UCurveFloat * FloatCurve,
    FOnTimelineFloatStatic InterpFunc
)

Add a float interpolation to the timeline. Use a non-serializeable delegate.

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

AddInterpLinearColor

(
    UCurveLinearColor * LinearColor...,
    FOnTimelineLinearColorStatic Interp...
)

Add a linear color interpolation to the timeline. Use a non-serializeable delegate.

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

AddInterpLinearColor

(
    UCurveLinearColor * LinearColor...,
    FOnTimelineLinearColor InterpFunc,
    FName PropertyName,
    FName TrackName
)

Add a linear color interpolation to the timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

AddInterpVector

(
    UCurveVector * VectorCurve,
    FOnTimelineVectorStatic InterpFunc
)

Add a vector interpolation to the timeline. Use a non-serializeable delegate.

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

AddInterpVector

(
    UCurveVector * VectorCurve,
    FOnTimelineVector InterpFunc,
    FName PropertyName,
    FName TrackName
)

Add a vector interpolation to the timeline

Public function

void

 

GetAllCurves

(
    TSet < class UCurveBase * >& In...
)

Get all curves used by the Timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) f...

 

GetPlaybackPosition()

Get the current playback position of the Timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) f...

 

GetPlayRate()

Get the current play rate for this timeline

Public function Static

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API)UE ...

 

GetTimelineDirectionEnum()

FTimeline .

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) f...

 

GetTimelineLength()

Get length of the timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) b...

 

IsLooping()

Get whether we are looping or not

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) b...

 

IsPlaying()

Get whether this timeline is playing or not.

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) b...

 

IsReversing()

Get whether we are reversing or not

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

Play()

Start playback of timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

PlayFromStart()

Start playback of timeline from the start

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

Reverse()

Start playback of timeline in reverse

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

ReverseFromEnd()

Start playback of timeline in reverse from the end

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetDirectionPropertyName

(
    FName InDirectionPropertyName
)

Set the delegate to call when timeline is finished

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetFloatCurve

(
    UCurveFloat * NewFloatCurve,
    FName FloatTrackName
)

Update a certain float track's curve

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetLinearColorCurve

(
    UCurveLinearColor * NewLinearCo...,
    FName LinearColorTrackName
)

Update a certain linear color track's curve

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetLooping

(
    bool bNewLooping
)

True means we whould loop, false means we should not.

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetNewTime

(
    float NewTime
)

Set the new playback position time to use

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetPlaybackPosition

(
    float NewPosition,
    bool bFireEvents,
    bool bFireUpdate
)

Jump to a position in the timeline.

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetPlayRate

(
    float NewRate
)

Sets the new play rate for this timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetPropertySetObject

(
    UObject * NewPropertySetObject
)

Optionally provide an object to automatically update properties on

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetTimelineFinishedFunc

(
    FOnTimelineEvent NewTimelineFinishe...
)

Set the delegate to call when timeline is finished

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetTimelineFinishedFunc

(
    FOnTimelineEventStatic NewTimelineF...
)

Set the static delegate to call when timeline is finished

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetTimelineLength

(
    float NewLength
)

Set the length of the timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetTimelineLengthMode

(
    ETimelineLengthMode NewMode
)

Sets the timeline length mode

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetTimelinePostUpdateFunc

(
    FOnTimelineEvent NewTimelinePostUpd...
)

Set the delegate to call after each timeline tick

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

SetVectorCurve

(
    UCurveVector * NewVectorCurve,
    FName VectorTrackName
)

Update a certain vector track's curve

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

Stop()

Stop playback of timeline

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) v...

 

TickTimeline

(
    float DeltaTime
)

Advance the timeline, if playing, firing delegates

References

Module

Engine

Header

Runtime/Engine/Classes/Components/TimelineComponent.h