SurfaceMeshesToPlanes.GetActivePlanes(SpatialAwarenessSurfaceTypes) Method
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.
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).