Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UTimelineComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/TimelineComponent.h |
Include | #include "Components/TimelineComponent.h" |
Syntax
class UTimelineComponent : public UActorComponent
Remarks
TimelineComponent holds a series of events, floats, vectors or colors with associated keyframes. Events can be triggered at keyframes along the timeline. Floats, vectors, and colors are interpolated between keyframes along the timeline.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UTimelineComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddEvent
(
float Time, |
Add a callback event to the timeline |
![]() |
void | AddInterpFloat
(
UCurveFloat* FloatCurve, |
Add a float interpolation to the timeline |
![]() |
void | AddInterpFloat
(
UCurveFloat* FloatCurve, |
Add a float interpolation to the timeline |
![]() |
void | AddInterpLinearColor
(
UCurveLinearColor* LinearColorCurve, |
Add a linear color interpolation to the timeline |
![]() |
void | AddInterpLinearColor
(
UCurveLinearColor* LinearColorCurve, |
Add a linear color interpolation to the timeline |
![]() |
void | AddInterpVector
(
UCurveVector* VectorCurve, |
Add a vector interpolation to the timeline |
![]() |
void | AddInterpVector
(
UCurveVector* VectorCurve, |
Add a vector interpolation to the timeline |
![]() ![]() |
void | GetAllCurves
(
TSet< class UCurveBase* >& InOutCurves |
Get all curves used by the Timeline |
![]() ![]() |
bool | Get whether to ignore time dilation. | |
![]() ![]() |
float | Get the current playback position of the Timeline | |
![]() ![]() |
float | GetPlayRate () |
Get the current play rate for this timeline |
![]() ![]() |
float | Get length of the timeline divided by the play rate | |
![]() ![]() |
UFunction * | Get the signature function for Timeline event functions | |
![]() ![]() |
UFunction * | Get the signature function for Timeline float functions | |
![]() ![]() |
float | Get length of the timeline | |
![]() ![]() |
UFunction * | Get the signature function for Timeline linear color functions | |
![]() ![]() |
ETimelineSigType | GetTimelineSignatureForFunction
(
const UFunction* InFunc |
Get the signature type for a specified function |
![]() ![]() |
UFunction * | Get the signature function for Timeline vector functions | |
![]() ![]() |
bool | IsLooping () |
Get whether we are looping or not |
![]() ![]() |
bool | IsPlaying () |
Get whether this timeline is playing or not. |
![]() ![]() |
bool | IsReversing () |
Get whether we are reversing or not |
![]() |
void | OnRep_Timeline
(
FTimeline& OldTimeline |
|
![]() |
void | Play () |
Start playback of timeline |
![]() |
void | Start playback of timeline from the start | |
![]() |
void | Reverse () |
Start playback of timeline in reverse |
![]() |
void | Start playback of timeline in reverse from the end | |
![]() |
void | SetDirectionPropertyName
(
FName DirectionPropertyName |
Set the delegate to call when timeline is finished |
![]() |
void | SetFloatCurve
(
UCurveFloat* NewFloatCurve, |
Update a certain float track's curve |
![]() |
void | SetIgnoreTimeDilation
(
bool bNewIgnoreTimeDilation |
Set whether to ignore time dilation. |
![]() |
void | SetLinearColorCurve
(
UCurveLinearColor* NewLinearColorCurve, |
Update a certain linear color track's curve |
![]() |
void | SetLooping
(
bool bNewLooping |
True means we would loop, false means we should not. |
![]() |
void | SetNewTime
(
float NewTime |
Set the new playback position time to use |
![]() |
void | SetPlaybackPosition
(
float NewPosition, |
Jump to a position in the timeline. |
![]() |
void | SetPlayRate
(
float NewRate |
Sets the new play rate for this timeline |
![]() |
void | SetPropertySetObject
(
UObject* NewPropertySetObject |
Optionally provide an object to automatically update properties on |
![]() |
void | SetTimelineFinishedFunc
(
FOnTimelineEvent NewTimelineFinishedFunc |
Set the delegate to call when timeline is finished |
![]() |
void | SetTimelineFinishedFunc
(
FOnTimelineEventStatic NewTimelineFinishedFunc |
Set the static delegate to call when timeline is finished |
![]() |
void | SetTimelineLength
(
float NewLength |
Set length of the timeline |
![]() |
void | SetTimelineLengthMode
(
ETimelineLengthMode NewLengthMode |
Sets the length mode of the timeline |
![]() |
void | SetTimelinePostUpdateFunc
(
FOnTimelineEvent NewTimelinePostUpdateFunc |
Set the delegate to call after each timeline tick |
![]() |
void | SetVectorCurve
(
UCurveVector* NewVectorCurve, |
Update a certain vector track's curve |
![]() |
void | Stop () |
Stop playback of timeline |
Overridden from UActorComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Activate
(
bool bReset |
Activates the SceneComponent, should be overridden by native child classes. |
![]() ![]() |
void | Deactivate () |
Deactivates the SceneComponent. |
![]() ![]() ![]() |
bool | Overridable check for a component to indicate to its Owner that it should prevent the Actor from auto destroying when finished | |
![]() ![]() |
void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | Called during async load to determine if PostLoad can be called on the loading thread. |