Show / Hide Table of Contents

    Class CoreServices

    Utility class to easily access references to core runtime Mixed Reality Toolkit Services If deallocating and re-allocating a new system at runtime, ResetCacheReferences() should be used to get a proper reference

    Inheritance
    Object
    CoreServices
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    public static class CoreServices

    Properties

    BoundarySystem

    Cached reference to the active instance of the boundary system. If system is destroyed, reference will be invalid. Please use ResetCacheReferences()

    Declaration
    public static IMixedRealityBoundarySystem BoundarySystem { get; }
    Property Value
    Type Description
    IMixedRealityBoundarySystem

    CameraSystem

    Cached reference to the active instance of the camera system. If system is destroyed, reference will be invalid. Please use ResetCacheReferences()

    Declaration
    public static IMixedRealityCameraSystem CameraSystem { get; }
    Property Value
    Type Description
    IMixedRealityCameraSystem

    DiagnosticsSystem

    Cached reference to the active instance of the diagnostics system. If system is destroyed, reference will be invalid. Please use ResetCacheReferences()

    Declaration
    public static IMixedRealityDiagnosticsSystem DiagnosticsSystem { get; }
    Property Value
    Type Description
    IMixedRealityDiagnosticsSystem

    InputSystem

    Cached reference to the active instance of the input system. If system is destroyed, reference will be invalid. Please use ResetCacheReferences()

    Declaration
    public static IMixedRealityInputSystem InputSystem { get; }
    Property Value
    Type Description
    IMixedRealityInputSystem

    SceneSystem

    Cached reference to the active instance of the camera system. If system is destroyed, reference will be invalid. Please use ResetCacheReferences()

    Declaration
    public static IMixedRealitySceneSystem SceneSystem { get; }
    Property Value
    Type Description
    IMixedRealitySceneSystem

    SpatialAwarenessSystem

    Cached reference to the active instance of the spatial awareness system. If system is destroyed, reference will be invalid. Please use ResetCacheReferences()

    Declaration
    public static IMixedRealitySpatialAwarenessSystem SpatialAwarenessSystem { get; }
    Property Value
    Type Description
    IMixedRealitySpatialAwarenessSystem

    TeleportSystem

    Cached reference to the active instance of the teleport system. If system is destroyed, reference will be invalid. Please use ResetCacheReferences()

    Declaration
    public static IMixedRealityTeleportSystem TeleportSystem { get; }
    Property Value
    Type Description
    IMixedRealityTeleportSystem

    Methods

    ResetCacheReference(Type)

    Clears the cache of the reference with key of given type if present and applicable

    Declaration
    public static bool ResetCacheReference(Type serviceType)
    Parameters
    Type Name Description
    Type serviceType

    interface of service to key against. Must be of type IMixedRealityService

    Returns
    Type Description
    Boolean

    true if succesfully cleared, false otherwise

    ResetCacheReferences()

    Resets all cached system references to null

    Declaration
    public static void ResetCacheReferences()
    Back to top Generated by DocFX