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
Declaration
public BoxCollider Collider { get; set; }
Property Value
Type | Description |
---|---|
BoxCollider |
Methods
CreateSpatialObject(Vector3, Int32, String, Int32)
Creates a SpatialAwarenessPlanarObject.
Declaration
public static SpatialAwarenessPlanarObject CreateSpatialObject(Vector3 size, int layer, string name, int planeId)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | size | |
Int32 | layer | |
String | name | |
Int32 | planeId |
Returns
Type | Description |
---|---|
SpatialAwarenessPlanarObject | SpatialAwarenessPlanarObject containing the fields that describe the plane. |