Interface ISceneSelectionStateAware

Interface that must be implemented by a KeyWindow that wants to provide scene selection capabilities.

interface ISceneSelectionStateAware {
    isDragSelectionActive: boolean;
    onScenePlayDataStateChanged: Event<[SceneInstance, EnumValue<ScenePlayState, number>], void>;
    sceneInstance: SceneInstance;
    sceneSelection: SceneSelectionState;
    get implementsISceneSelectionStateAware(): true;
}

Implemented by

Properties

isDragSelectionActive: boolean

Determines if a drag selection is currently taking place.

sceneInstance: SceneInstance

The currently loaded SceneInstance.

The key window might dynamically load another scene.

sceneSelection: SceneSelectionState

Accessors

  • get implementsISceneSelectionStateAware(): true
  • The interface marker for the ISceneSelectionStateAware interface.

    Returns true

Events

onScenePlayDataStateChanged: Event<[SceneInstance, EnumValue<ScenePlayState, number>], void>

Invoked when the ScenePlayState of the currently loaded SceneInstance changed.