GenericXRSDKSpatialMeshObserver.spareMeshObject Field

Definition

When surfaces are replaced or removed, rather than destroying them, we'll keep one as a spare for use in outstanding mesh requests. That way, we'll have fewer game object create/destroy cycles, which should help performance.

C++
protected: Microsoft::MixedReality::Toolkit::SpatialAwareness::SpatialAwarenessMeshObject ^ spareMeshObject;

Field Value

Applies to

Product Versions
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