#include <TimelineComponent.h>
|
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | FTimeline () |
| |
| | ~FTimeline ()=default |
| |
| | FTimeline (const FTimeline &)=default |
| |
| | FTimeline (FTimeline &&)=default |
| |
| FTimeline & | operator= (const FTimeline &)=default |
| |
| FTimeline & | operator= (FTimeline &&)=default |
| |
| ENGINE_API void | Play () |
| |
| ENGINE_API void | PlayFromStart () |
| |
| ENGINE_API void | Reverse () |
| |
| ENGINE_API void | ReverseFromEnd () |
| |
| ENGINE_API void | Stop () |
| |
| ENGINE_API bool | IsPlaying () const |
| |
| ENGINE_API bool | IsReversing () const |
| |
| ENGINE_API void | SetPlaybackPosition (float NewPosition, bool bFireEvents, bool bFireUpdate=true) |
| |
| ENGINE_API float | GetPlaybackPosition () const |
| |
| ENGINE_API void | SetLooping (bool bNewLooping) |
| |
| ENGINE_API bool | IsLooping () const |
| |
| ENGINE_API void | SetPlayRate (float NewRate) |
| |
| ENGINE_API float | GetPlayRate () const |
| |
| ENGINE_API void | SetNewTime (float NewTime) |
| |
| ENGINE_API float | GetTimelineLength () const |
| |
| ENGINE_API float | GetScaledTimelineLength () const |
| |
| ENGINE_API void | SetTimelineLengthMode (ETimelineLengthMode NewMode) |
| |
| ENGINE_API void | SetTimelineLength (float NewLength) |
| |
| ENGINE_API void | SetFloatCurve (UCurveFloat *NewFloatCurve, FName FloatTrackName) |
| |
| ENGINE_API void | SetVectorCurve (UCurveVector *NewVectorCurve, FName VectorTrackName) |
| |
| ENGINE_API void | SetLinearColorCurve (UCurveLinearColor *NewLinearColorCurve, FName LinearColorTrackName) |
| |
| ENGINE_API void | SetPropertySetObject (UObject *NewPropertySetObject) |
| |
| ENGINE_API void | SetTimelinePostUpdateFunc (FOnTimelineEvent NewTimelinePostUpdateFunc) |
| |
| ENGINE_API void | SetTimelineFinishedFunc (FOnTimelineEvent NewTimelineFinishedFunc) |
| |
| ENGINE_API void | SetTimelineFinishedFunc (FOnTimelineEventStatic NewTimelineFinishedFunc) |
| |
| ENGINE_API void | AddEvent (float Time, FOnTimelineEvent EventFunc) |
| |
| ENGINE_API void | AddInterpVector (UCurveVector *VectorCurve, FOnTimelineVector InterpFunc, FName PropertyName=NAME_None, FName TrackName=NAME_None) |
| |
| ENGINE_API void | AddInterpVector (UCurveVector *VectorCurve, FOnTimelineVectorStatic InterpFunc) |
| |
| ENGINE_API void | AddInterpFloat (UCurveFloat *FloatCurve, FOnTimelineFloat InterpFunc, FName PropertyName=NAME_None, FName TrackName=NAME_None) |
| |
| ENGINE_API void | AddInterpFloat (UCurveFloat *FloatCurve, FOnTimelineFloatStatic InterpFunc) |
| |
| ENGINE_API void | AddInterpLinearColor (UCurveLinearColor *LinearColorCurve, FOnTimelineLinearColor InterpFunc, FName PropertyName=NAME_None, FName TrackName=NAME_None) |
| |
| ENGINE_API void | AddInterpLinearColor (UCurveLinearColor *LinearColorCurve, FOnTimelineLinearColorStatic InterpFunc) |
| |
| ENGINE_API void | TickTimeline (float DeltaTime) |
| |
| ENGINE_API void | SetDirectionPropertyName (FName InDirectionPropertyName) |
| |
| void | GetAllCurves (TSet< class UCurveBase * > &InOutCurves) const |
| |
| ENGINE_API bool | Serialize (FArchive &Ar) |
| |
| ENGINE_API void | PostSerialize (const FArchive &Ar) |
| |
◆ FTimeline() [1/3]
◆ ~FTimeline()
| FTimeline::~FTimeline |
( |
| ) |
|
|
default |
◆ FTimeline() [2/3]
◆ FTimeline() [3/3]
◆ AddEvent()
Add a callback event to the timeline
◆ AddInterpFloat() [1/2]
Add a float interpolation to the timeline
◆ AddInterpFloat() [2/2]
Add a float interpolation to the timeline. Use a non-serializeable delegate.
◆ AddInterpLinearColor() [1/2]
Add a linear color interpolation to the timeline
◆ AddInterpLinearColor() [2/2]
Add a linear color interpolation to the timeline. Use a non-serializeable delegate.
◆ AddInterpVector() [1/2]
Add a vector interpolation to the timeline
◆ AddInterpVector() [2/2]
Add a vector interpolation to the timeline. Use a non-serializeable delegate.
◆ GetAllCurves()
| void FTimeline::GetAllCurves |
( |
TSet< class UCurveBase * > & |
InOutCurves | ) |
const |
Get all curves used by the Timeline
◆ GetPlaybackPosition()
| float FTimeline::GetPlaybackPosition |
( |
| ) |
const |
Get the current playback position of the Timeline
◆ GetPlayRate()
| float FTimeline::GetPlayRate |
( |
| ) |
const |
Get the current play rate for this timeline
◆ GetScaledTimelineLength()
| float FTimeline::GetScaledTimelineLength |
( |
| ) |
const |
Get length of the timeline divided by the play rate
◆ GetTimelineDirectionEnum()
| UEnum * FTimeline::GetTimelineDirectionEnum |
( |
| ) |
|
|
static |
Helper function to get to the timeline direction enum
◆ GetTimelineLength()
| float FTimeline::GetTimelineLength |
( |
| ) |
const |
Get length of the timeline
◆ IsLooping()
| bool FTimeline::IsLooping |
( |
| ) |
const |
Get whether we are looping or not
◆ IsPlaying()
| bool FTimeline::IsPlaying |
( |
| ) |
const |
Get whether this timeline is playing or not.
◆ IsReversing()
| bool FTimeline::IsReversing |
( |
| ) |
const |
Get whether we are reversing or not
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Play()
Start playback of timeline
◆ PlayFromStart()
| void FTimeline::PlayFromStart |
( |
| ) |
|
Start playback of timeline from the start
◆ PostSerialize()
◆ Reverse()
| void FTimeline::Reverse |
( |
| ) |
|
Start playback of timeline in reverse
◆ ReverseFromEnd()
| void FTimeline::ReverseFromEnd |
( |
| ) |
|
Start playback of timeline in reverse from the end
◆ Serialize()
◆ SetDirectionPropertyName()
| void FTimeline::SetDirectionPropertyName |
( |
FName |
InDirectionPropertyName | ) |
|
Set the delegate to call when timeline is finished
◆ SetFloatCurve()
Update a certain float track's curve
◆ SetLinearColorCurve()
Update a certain linear color track's curve
◆ SetLooping()
| void FTimeline::SetLooping |
( |
bool |
bNewLooping | ) |
|
true means we whould loop, false means we should not.
◆ SetNewTime()
Set the new playback position time to use
◆ SetPlaybackPosition()
Jump to a position in the timeline. If bFireEvents is true, event functions will fire, otherwise will not.
◆ SetPlayRate()
Sets the new play rate for this timeline
◆ SetPropertySetObject()
| void FTimeline::SetPropertySetObject |
( |
UObject * |
NewPropertySetObject | ) |
|
Optionally provide an object to automatically update properties on
◆ SetTimelineFinishedFunc() [1/2]
Set the delegate to call when timeline is finished
◆ SetTimelineFinishedFunc() [2/2]
Set the static delegate to call when timeline is finished
◆ SetTimelineLength()
| void FTimeline::SetTimelineLength |
( |
float |
NewLength | ) |
|
Set the length of the timeline
◆ SetTimelineLengthMode()
Sets the timeline length mode
◆ SetTimelinePostUpdateFunc()
Set the delegate to call after each timeline tick
◆ SetVectorCurve()
Update a certain vector track's curve
◆ Stop()
Stop playback of timeline
◆ TickTimeline()
| void FTimeline::TickTimeline |
( |
float |
DeltaTime | ) |
|
Advance the timeline, if playing, firing delegates
The documentation for this struct was generated from the following files: