Class SpatialMappingCollider
Inheritance
SpatialMappingCollider
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 SpatialMappingCollider : SpatialMappingBase
Properties
enableCollisions
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 bool enableCollisions { get; set; }
Property Value
layer
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 int layer { get; set; }
Property Value
material
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 PhysicMaterial material { get; set; }
Property Value
| Type |
Description |
| PhysicMaterial |
|
Methods
AddRequiredComponentsForBaking(SpatialMappingBase.Surface)
Declaration
protected override void AddRequiredComponentsForBaking(SpatialMappingBase.Surface surface)
Parameters
Overrides
ApplyPropertiesToCachedSurfaces()
Declaration
protected void ApplyPropertiesToCachedSurfaces()
Awake()
Declaration
protected override void Awake()
Overrides
OnBeginSurfaceEviction(Boolean, SpatialMappingBase.Surface)
Declaration
protected override void OnBeginSurfaceEviction(bool shouldBeActiveWhileRemoved, SpatialMappingBase.Surface surfaceData)
Parameters
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
UpdateSurfaceData(SpatialMappingBase.Surface)
Declaration
protected override void UpdateSurfaceData(SpatialMappingBase.Surface surface)
Parameters
Overrides