Table of Contents

Class SceneSwitchEventArgs

Namespace
VisioForge.Core.SceneSwitching
Assembly
VisioForge.Core.dll

Provides data for scene switch events.

public class SceneSwitchEventArgs : EventArgs

Inheritance

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

fromScene Scene

The scene being switched from.

toScene Scene

The scene being switched to.

transition TransitionDefinition

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

Scene

ToScene

Gets the scene being switched to.

public Scene ToScene { get; }

Property Value

Scene

Transition

Gets the transition being applied.

public TransitionDefinition Transition { get; }

Property Value

TransitionDefinition