Upravit

Sdílet prostřednictvím


SpatialAwarenessPlanarObject Class

Definition

public ref class SpatialAwarenessPlanarObject : Microsoft::MixedReality::Toolkit::SpatialAwareness::BaseSpatialAwarenessObject
public class SpatialAwarenessPlanarObject : Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObject
type SpatialAwarenessPlanarObject = class
    inherit BaseSpatialAwarenessObject
Public Class SpatialAwarenessPlanarObject
Inherits BaseSpatialAwarenessObject
Inheritance
SpatialAwarenessPlanarObject

Constructors

SpatialAwarenessPlanarObject()

Constructor.

Properties

Collider

The BoxCollider associated with this plane's GameObject.

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

The MeshRenderer of this spatial object.

(Inherited from BaseSpatialAwarenessObject)
SurfaceType

The type of surface (ex: wall) represented by this object.

Methods

CleanObject()

Cleans up this spatial object.

(Inherited from BaseSpatialAwarenessObject)
CreateSpatialObject(Vector3, Int32, String, Int32)

Creates a SpatialAwarenessPlanarObject.

CreateSpatialObject(Vector3, Vector3, Quaternion, Int32, String, Int32, SpatialAwarenessSurfaceTypes)

Creates a SpatialAwarenessPlanarObject.

Applies to