SpatialAwarenessSceneObject Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Object encapsulating the components of a spatial awareness scene object.
public ref class SpatialAwarenessSceneObject : Microsoft::MixedReality::Toolkit::SpatialAwareness::BaseSpatialAwarenessObject
public class SpatialAwarenessSceneObject : Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObject
type SpatialAwarenessSceneObject = class
inherit BaseSpatialAwarenessObject
Public Class SpatialAwarenessSceneObject
Inherits BaseSpatialAwarenessObject
- Inheritance
Filter |
The MeshFilter associated with this spatial object's renderer. (Inherited from BaseSpatialAwarenessObject) |
Game |
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. |
Surface |
The surface type of the scene object. |
Clean |
Cleans up this spatial object. (Inherited from BaseSpatialAwarenessObject) |
Create(Int32, Spatial |
Creates a SpatialAwarenessSceneObject. |
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 |