Class ScriptTrack
The timeline track for animating Script objects.
Inheritance
System.Object
FlaxEditor.GUI.Timeline.Track
ScriptTrack
Namespace: FlaxEditor.GUI.Timeline.Tracks
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class ScriptTrack : ObjectTrack, IComparable, IDrawable, IKeyframesEditorContext, IObjectTrack
Constructors
ScriptTrack(ref TrackCreateOptions)
Declaration
public ScriptTrack(ref TrackCreateOptions options)
Parameters
FlaxEditor.GUI.Timeline.TrackCreateOptions
options
|
Fields
ScriptID
The object ID.
Declaration
public Guid ScriptID
Field Value
System.Guid
|
Properties
Object
Gets the object instance (may be null if reference is invalid or data is missing).
Declaration
public override object Object { get; }
Property Value
System.Object
|
Overrides
Script
Gets the object instance (it might be missing).
Declaration
public Script Script { get; set; }
Property Value
Script
|
Methods
GetArchetype()
Gets the archetype.
Declaration
public static TrackArchetype GetArchetype()
Returns
FlaxEditor.GUI.Timeline.TrackArchetype
The archetype. |
OnShowAddContextMenu(ContextMenu)
Called when showing the context menu for add button (for sub-tracks adding).
Declaration
protected override void OnShowAddContextMenu(ContextMenu menu)
Parameters
FlaxEditor.GUI.ContextMenu.ContextMenu
menu
The menu. |