Class ScreenFadeMedia
The timeline media that represents a screen fade animation event.
Implements
System.IComparable
Namespace: FlaxEditor.GUI.Timeline.Tracks
Assembly: FlaxEngine.CSharp.dll
Syntax
public class ScreenFadeMedia : Media, IComparable, IDrawable
Constructors
ScreenFadeMedia()
Fields
Gradient
Methods
OnTimelineChanged(Track)
Called when parent track gets changed.
Declaration
public override void OnTimelineChanged(Track track)
Parameters
FlaxEditor.GUI.Timeline.Track
track
The track. |
Overrides
OnTimelineContextMenu(ContextMenu, Single, Control)
Called when showing timeline context menu to the user. Can be used to add custom buttons.
Declaration
public override void OnTimelineContextMenu(ContextMenu menu, float time, Control controlUnderMouse)
Parameters
FlaxEditor.GUI.ContextMenu.ContextMenu
menu
The menu. |
System.Single
time
The time (in seconds) at which context menu is shown (user clicked on a timeline). |
Control
controlUnderMouse
The found control under the mouse cursor. |
Overrides
OnTimelineFpsChanged(Single, Single)
Called when timeline FPS gets changed.
Declaration
public override void OnTimelineFpsChanged(float before, float after)
Parameters
System.Single
before
The before value. |
System.Single
after
The after value. |
Overrides
OnTimelineZoomChanged()
Called when timeline zoom gets changed.
Declaration
public override void OnTimelineZoomChanged()