Class SpatialMappingRenderer
Inheritance
SpatialMappingRenderer
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 class SpatialMappingRenderer : SpatialMappingBase
Properties
occlusionMaterial
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 Material occlusionMaterial { get; set; }
Property Value
| Type |
Description |
| Material |
|
renderState
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 SpatialMappingRenderer.RenderState renderState { get; set; }
Property Value
visualMaterial
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 Material visualMaterial { get; set; }
Property Value
| Type |
Description |
| Material |
|
Methods
ApplyPropertiesToCachedSurfaces()
Declaration
protected void ApplyPropertiesToCachedSurfaces()
DestroySurface(SpatialMappingBase.Surface)
Declaration
protected override void DestroySurface(SpatialMappingBase.Surface surface)
Parameters
Overrides
OnBeginSurfaceEviction(Boolean, SpatialMappingBase.Surface)
Declaration
protected override void OnBeginSurfaceEviction(bool shouldBeActiveWhileRemoved, SpatialMappingBase.Surface surface)
Parameters
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnResetProperties()
Declaration
protected override void OnResetProperties()
Overrides
OnSurfaceDataReady(SpatialMappingBase, SurfaceData, Boolean, Single)
Declaration
protected override void OnSurfaceDataReady(SpatialMappingBase requester, SurfaceData bakedData, bool outputWritten, float elapsedBakeTimeSeconds)
Parameters
Overrides
Reset()
Declaration
protected override void Reset()
Overrides