// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; namespace Microsoft.MixedReality.Toolkit.SceneSystem { /// /// Optional editor-only interface for use with facade inspectors. /// If a scene system service does not implement this interface, the facade will not be rendered. /// public interface IMixedRealitySceneSystemEditor { #if UNITY_EDITOR /// /// Returns all content scene tags in the scene service profile. /// IEnumerable ContentTags { get; } /// /// Returns the content scenes in the scene service profile. /// SceneInfo[] ContentScenes { get; } /// /// Returns the lighting scenes in the scene service profile. /// SceneInfo[] LightingScenes { get; } /// /// Loads the next content scene in-editor. Use instead of IMixedRealitySceneSystem.LoadNextContent while not in play mode. /// /// If true, if the current scene is the LAST content scene, the FIRST content scene will be loaded. void EditorLoadNextContent(bool wrap = false); /// /// Loads the prev content scene in-editor. Use instead of IMixedRealitySceneSystem.LoadPrevContent while not in play mode. /// /// If true, if the current scene is the FIRST content scene, the LAST content scene will be loaded. void EditorLoadPrevContent(bool wrap = false); #endif } }