Modifier

Partager via


SpatialAwarenessMeshObject Class

Definition

Object encapsulating the components of a spatial awareness mesh object.

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

Properties

Collider

The collider for the mesh object.

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)

Methods

CleanObject()

Cleans up this spatial object.

(Inherited from BaseSpatialAwarenessObject)
Cleanup(SpatialAwarenessMeshObject, Boolean, Boolean)

Clean up the resources associated with the surface.

Create(Mesh, Int32, String, Int32, GameObject)

Creates a SpatialAwarenessMeshObject.

Applies to