Class SpatialAwarenessPlanarObject
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness
Assembly: cs.temp.dll.dll
Syntax
public class SpatialAwarenessPlanarObject : BaseSpatialAwarenessObject, IMixedRealitySpatialAwarenessObject
Constructors
SpatialAwarenessPlanarObject()
Constructor.
Declaration
public SpatialAwarenessPlanarObject()
Properties
Collider
The BoxCollider associated with this plane's GameObject.
Declaration
public BoxCollider Collider { get; set; }
Property Value
Type | Description |
---|---|
Box |
Methods
CreateSpatialObject(Vector3, Int32, String, Int32)
Creates a Spatial
Declaration
public static SpatialAwarenessPlanarObject CreateSpatialObject(Vector3 size, int layer, string name, int planeId)
Parameters
Returns
Type | Description |
---|---|
Spatial |
SpatialAwarenessPlanarObject containing the fields that describe the plane. |