Modifier

Partager via


SurfaceMeshesToPlanes.GetActivePlanes(SpatialAwarenessSurfaceTypes) Method

Definition

Gets all active planes of the specified type(s).

public:
 System::Collections::Generic::List<UnityEngine::GameObject ^> ^ GetActivePlanes(Microsoft::MixedReality::Toolkit::SpatialAwareness::SpatialAwarenessSurfaceTypes planeTypes);
public System.Collections.Generic.List<UnityEngine.GameObject> GetActivePlanes (Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessSurfaceTypes planeTypes);
member this.GetActivePlanes : Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessSurfaceTypes -> System.Collections.Generic.List<UnityEngine.GameObject>
Public Function GetActivePlanes (planeTypes As SpatialAwarenessSurfaceTypes) As List(Of GameObject)

Parameters

planeTypes
SpatialAwarenessSurfaceTypes

A flag which includes all plane type(s) that should be returned.

Returns

List<UnityEngine.GameObject>

A collection of planes that match the expected type(s).

Applies to