RSX Code Reference
    Preparing search index...

    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>],
        >;
        sceneInstance: SceneInstance;
        sceneSelection: SceneSelectionState;
        get implementsISceneSelectionStateAware(): true;
    }

    Implemented by

    Index
    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
    • get implementsISceneSelectionStateAware(): true

      The interface marker for the ISceneSelectionStateAware interface.

      Returns true

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

    Invoked when the ScenePlayState of the currently loaded SceneInstance changed.