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()
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 |
---|---|
BoxCollider |
Collider
The BoxCollider associated with this plane's GameObject.
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. |
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. |