Class SpatialMappingCollider
Inheritance
SpatialMappingCollider
Syntax
public class SpatialMappingCollider : SpatialMappingBase
Properties
enableCollisions
Declaration
public bool enableCollisions { get; set; }
Property Value
layer
Declaration
public int layer { get; set; }
Property Value
material
Declaration
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