Class TimelineComponent
TimelineComponent holds a series of events, floats, vectors or colors with associated keyframes.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class TimelineComponent : ActorComponent
Remarks
Events can be triggered at keyframes along the timeline. Floats, vectors, and colors are interpolated between keyframes along the timeline.
Properties
| Improve this Doc View SourcebIgnoreTimeDilation
Declaration
public bool bIgnoreTimeDilation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static TimelineComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
TimelineComponent |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
TheTimeline
The actual timeline structure
Declaration
public Timeline TheTimeline { get; set; }
Property Value
Type | Description |
---|---|
Timeline |
Methods
| Improve this Doc View SourceGetIgnoreTimeDilation()
Get whether to ignore time dilation.
Declaration
public bool GetIgnoreTimeDilation()
Returns
Type | Description |
---|---|
System.Boolean |
GetPlaybackPosition()
Get the current playback position of the Timeline
Declaration
public float GetPlaybackPosition()
Returns
Type | Description |
---|---|
System.Single |
GetPlayRate()
Get the current play rate for this timeline
Declaration
public float GetPlayRate()
Returns
Type | Description |
---|---|
System.Single |
GetTimelineLength()
Get length of the timeline
Declaration
public float GetTimelineLength()
Returns
Type | Description |
---|---|
System.Single |
IsLooping()
Get whether we are looping or not
Declaration
public bool IsLooping()
Returns
Type | Description |
---|---|
System.Boolean |
IsPlaying()
Get whether this timeline is playing or not.
Declaration
public bool IsPlaying()
Returns
Type | Description |
---|---|
System.Boolean |
IsReversing()
Get whether we are reversing or not
Declaration
public bool IsReversing()
Returns
Type | Description |
---|---|
System.Boolean |
New(UObject, Name)
Spawn an object of this class
Declaration
public static TimelineComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
TimelineComponent |
Play()
Start playback of timeline
Declaration
public void Play()
PlayFromStart()
Start playback of timeline from the start
Declaration
public void PlayFromStart()
Reverse()
Start playback of timeline in reverse
Declaration
public void Reverse()
ReverseFromEnd()
Start playback of timeline in reverse from the end
Declaration
public void ReverseFromEnd()
SetFloatCurve(CurveFloat, Name)
Update a certain float track's curve
Declaration
public void SetFloatCurve(CurveFloat NewFloatCurve, Name FloatTrackName)
Parameters
Type | Name | Description |
---|---|---|
CurveFloat | NewFloatCurve | |
Name | FloatTrackName |
SetIgnoreTimeDilation(Boolean)
Set whether to ignore time dilation.
Declaration
public void SetIgnoreTimeDilation(bool bNewIgnoreTimeDilation)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bNewIgnoreTimeDilation |
SetLinearColorCurve(CurveLinearColor, Name)
Update a certain linear color track's curve
Declaration
public void SetLinearColorCurve(CurveLinearColor NewLinearColorCurve, Name LinearColorTrackName)
Parameters
Type | Name | Description |
---|---|---|
CurveLinearColor | NewLinearColorCurve | |
Name | LinearColorTrackName |
SetLooping(Boolean)
true means we would loop, false means we should not.
Declaration
public void SetLooping(bool bNewLooping)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bNewLooping |
SetNewTime(Single)
Set the new playback position time to use
Declaration
public void SetNewTime(float NewTime)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewTime |
SetPlaybackPosition(Single, Boolean, Boolean)
Jump to a position in the timeline.
Declaration
public void SetPlaybackPosition(float NewPosition, bool bFireEvents, bool bFireUpdate)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewPosition | |
System.Boolean | bFireEvents | |
System.Boolean | bFireUpdate |
Remarks
@param bFireEvents If true, event functions that are between current position and new playback position will fire. @param bFireUpdate If true, the update output exec will fire after setting the new playback position.
SetPlayRate(Single)
Sets the new play rate for this timeline
Declaration
public void SetPlayRate(float NewRate)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewRate |
SetTimelineLength(Single)
Set length of the timeline
Declaration
public void SetTimelineLength(float NewLength)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewLength |
SetTimelineLengthMode(Byte)
Sets the length mode of the timeline
Declaration
public void SetTimelineLengthMode(byte NewLengthMode)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | NewLengthMode |
SetVectorCurve(CurveVector, Name)
Update a certain vector track's curve
Declaration
public void SetVectorCurve(CurveVector NewVectorCurve, Name VectorTrackName)
Parameters
Type | Name | Description |
---|---|---|
CurveVector | NewVectorCurve | |
Name | VectorTrackName |
Stop()
Stop playback of timeline
Declaration
public void Stop()
Operators
| Improve this Doc View SourceImplicit(IntPtr to TimelineComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator TimelineComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
TimelineComponent |