GenericXRSDKSpatialMeshObserver.RemoveMeshObject(Int32) Method

Definition

Removes the SpatialAwarenessMeshObject associated with the specified id.

C++
protected:
 void RemoveMeshObject(int id);

Parameters

id
Int32

The id of the mesh to be removed.

Applies to

產品 版本
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