SpatialAwarenessMeshObject Class

Definition

Object encapsulating the components of a spatial awareness mesh object.

C++
public ref class SpatialAwarenessMeshObject : Microsoft::MixedReality::Toolkit::SpatialAwareness::BaseSpatialAwarenessObject
Inheritance
SpatialAwarenessMeshObject

Properties

Collider

The collider for the mesh object.

Filter

The MeshFilter associated with this spatial object's renderer.

(Inherited from BaseSpatialAwarenessObject)
GameObject

The GameObject representing this spatial object in the scene.

(Inherited from BaseSpatialAwarenessObject)
Id

A unique ID identifying this spatial object.

(Inherited from BaseSpatialAwarenessObject)
Renderer

The MeshRenderer of this spatial object.

(Inherited from BaseSpatialAwarenessObject)

Methods

CleanObject()

Cleans up this spatial object.

(Inherited from BaseSpatialAwarenessObject)
Cleanup(SpatialAwarenessMeshObject, Boolean, Boolean)

Clean up the resources associated with the surface.

Create(Mesh, Int32, String, Int32, GameObject)

Creates a SpatialAwarenessMeshObject.

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0