Class SceneSwitchEventArgs
- Namespace
- VisioForge.Core.SceneSwitching
- Assembly
- VisioForge.Core.dll
Provides data for scene switch events.
public class SceneSwitchEventArgs : EventArgsInheritance
Inherited Members
Constructors
SceneSwitchEventArgs(Scene, Scene, TransitionDefinition)
Initializes a new instance of the VisioForge.Core.SceneSwitching.SceneSwitchEventArgs class.
public SceneSwitchEventArgs(Scene fromScene, Scene toScene, TransitionDefinition transition)Parameters
fromSceneScene-
The scene being switched from.
toSceneScene-
The scene being switched to.
transitionTransitionDefinition-
The transition being applied.
Properties
FromScene
Gets the scene being switched from. May be null for the initial scene activation.
public Scene FromScene { get; }Property Value
ToScene
Gets the scene being switched to.
public Scene ToScene { get; }Property Value
Transition
Gets the transition being applied.
public TransitionDefinition Transition { get; }