Class SpatialMappingContext
Inheritance
SpatialMappingContext
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
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
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