Class ParticleSystemTimeline
The timeline editor for particle system asset.
Namespace: FlaxEditor.GUI.Timeline
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class ParticleSystemTimeline : Timeline, IComparable, IDrawable, IKeyframesEditorContext
Constructors
ParticleSystemTimeline(ParticleSystemPreview, Undo)
Initializes a new instance of the ParticleSystemTimeline class.
Declaration
public ParticleSystemTimeline(ParticleSystemPreview preview, Undo undo = null)
Parameters
ParticleSystemPreview
preview
The particle system preview. |
Undo
undo
The undo/redo to use for the history actions recording. Optional, can be null to disable undo support. |
Methods
Load(ParticleSystem)
Loads the timeline from the specified ParticleSystem asset.
Declaration
public void Load(ParticleSystem asset)
Parameters
ParticleSystem
asset
The asset. |
Load(Byte[])
Declaration
public override void Load(byte[] data)
Parameters
System.Byte[]
data
|
Overrides
FlaxEditor.GUI.Timeline.Timeline.Load(System.Byte[])
LoadTimelineCustomData(Int32, BinaryReader)
Declaration
protected override void LoadTimelineCustomData(int version, BinaryReader stream)
Parameters
System.Int32
version
|
System.IO.BinaryReader
stream
|
Overrides
FlaxEditor.GUI.Timeline.Timeline.LoadTimelineCustomData(System.Int32, System.IO.BinaryReader)
LoadTimelineData(Int32, BinaryReader)
Declaration
protected override void LoadTimelineData(int version, BinaryReader stream)
Parameters
System.Int32
version
|
System.IO.BinaryReader
stream
|
Overrides
FlaxEditor.GUI.Timeline.Timeline.LoadTimelineData(System.Int32, System.IO.BinaryReader)
OnDestroy()
Declaration
public override void OnDestroy()
Overrides
FlaxEditor.GUI.Timeline.Timeline.OnDestroy()
OnEmittersParametersOverridesEdited()
Called when emitters parameters overrides collection gets edited.
Declaration
public void OnEmittersParametersOverridesEdited()
OnPause()
Declaration
public override void OnPause()
Overrides
FlaxEditor.GUI.Timeline.Timeline.OnPause()
OnPlay()
Declaration
public override void OnPlay()
Overrides
FlaxEditor.GUI.Timeline.Timeline.OnPlay()
OnStop()
Declaration
public override void OnStop()
Overrides
FlaxEditor.GUI.Timeline.Timeline.OnStop()
Save(ParticleSystem)
Saves the timeline data to the ParticleSystem asset.
Declaration
public void Save(ParticleSystem asset)
Parameters
ParticleSystem
asset
The asset. |
SaveTimelineCustomData(BinaryWriter)
Declaration
protected override void SaveTimelineCustomData(BinaryWriter stream)
Parameters
System.IO.BinaryWriter
stream
|
Overrides
FlaxEditor.GUI.Timeline.Timeline.SaveTimelineCustomData(System.IO.BinaryWriter)
SaveTimelineData(BinaryWriter)
Declaration
protected override void SaveTimelineData(BinaryWriter stream)
Parameters
System.IO.BinaryWriter
stream
|
Overrides
FlaxEditor.GUI.Timeline.Timeline.SaveTimelineData(System.IO.BinaryWriter)
SetupDragDrop()
Declaration
protected override void SetupDragDrop()
Overrides
FlaxEditor.GUI.Timeline.Timeline.SetupDragDrop()
Update(Single)
Declaration
public override void Update(float deltaTime)
Parameters
System.Single
deltaTime
|
Overrides
FlaxEditor.GUI.Timeline.Timeline.Update(System.Single)
Extension Methods
See Also
FlaxEditor.GUI.Timeline.Timeline