Edit

Share via


SpatialAwarenessSceneObject Class

Definition

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

CleanObject()

Cleans up this spatial object.

(Inherited from BaseSpatialAwarenessObject)
Create(Int32, SpatialAwarenessSurfaceTypes, Vector3, Quaternion, List<SpatialAwarenessSceneObject.QuadData>, List<SpatialAwarenessSceneObject.MeshData>)

Creates a SpatialAwarenessSceneObject.

Applies to