SpatialAwarenessPlanarObject Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |