Class SpatialMappingContext | Windows Mixed Reality | 4.2.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class SpatialMappingContext

    Inheritance
    Object
    SpatialMappingContext
    Namespace: UnityEngine.XR.WSA
    Syntax
    [Obsolete("Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.google.com/document/d/1AMk4NwRVAtnG-LScXT2ne_s5mD4rmWK_C9dyn39ZDbc/edit.", false)]
    public sealed class SpatialMappingContext

    Properties

    Instance

    Declaration
    [Obsolete("Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.google.com/document/d/1AMk4NwRVAtnG-LScXT2ne_s5mD4rmWK_C9dyn39ZDbc/edit.", false)]
    public static SpatialMappingContext Instance { get; }
    Property Value
    Type Description
    SpatialMappingContext

    Methods

    ComponentHasDataRequests()

    Declaration
    [Obsolete("Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.google.com/document/d/1AMk4NwRVAtnG-LScXT2ne_s5mD4rmWK_C9dyn39ZDbc/edit.", false)]
    public void ComponentHasDataRequests()

    DeregisterComponent(SpatialMappingBase)

    Declaration
    [Obsolete("Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.google.com/document/d/1AMk4NwRVAtnG-LScXT2ne_s5mD4rmWK_C9dyn39ZDbc/edit.", false)]
    public void DeregisterComponent(SpatialMappingBase smComponent)
    Parameters
    Type Name Description
    SpatialMappingBase smComponent

    OnSurfaceDataReady(SurfaceData, Boolean, Single)

    Declaration
    [Obsolete("Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.google.com/document/d/1AMk4NwRVAtnG-LScXT2ne_s5mD4rmWK_C9dyn39ZDbc/edit.", false)]
    public void OnSurfaceDataReady(SurfaceData sd, bool outputWritten, float elapsedBakeTimeSeconds)
    Parameters
    Type Name Description
    SurfaceData sd
    Boolean outputWritten
    Single elapsedBakeTimeSeconds

    RegisterComponent(SpatialMappingBase, SpatialMappingBase.SurfaceDataReadyCallback, SpatialMappingContext.GetHighestPriorityCallback, SurfaceObserver)

    Declaration
    [Obsolete("Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.google.com/document/d/1AMk4NwRVAtnG-LScXT2ne_s5mD4rmWK_C9dyn39ZDbc/edit.", false)]
    public void RegisterComponent(SpatialMappingBase smComponent, SpatialMappingBase.SurfaceDataReadyCallback onDataReady, SpatialMappingContext.GetHighestPriorityCallback getHighestPri, SurfaceObserver observer)
    Parameters
    Type Name Description
    SpatialMappingBase smComponent
    SpatialMappingBase.SurfaceDataReadyCallback onDataReady
    SpatialMappingContext.GetHighestPriorityCallback getHighestPri
    SurfaceObserver observer
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023