SpatialAwarenessSceneObject Class

Definition

Object encapsulating the components of a spatial awareness scene object.

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

Properties

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)
Meshes

The list of meshes associated with the scene object.

Position

The world position for the scene object.

Quads

The list of quads associated with the scene object.

Renderer

The MeshRenderer of this spatial object.

(Inherited from BaseSpatialAwarenessObject)
Rotation

The world rotation for the scene object.

SurfaceType

The surface type of the scene object.

Methods

Applies to

Product Versions
MRTK2 Unity 2018 2.6.0, 2.7.0
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0