Modifica

Condividi tramite


BaseBoundarySystem.Contains(Vector3, BoundaryType) Method

Definition

Determines if a location is within the specified area of the boundary space.

public bool Contains (UnityEngine.Vector3 location, Microsoft.MixedReality.Toolkit.Boundary.BoundaryType boundaryType = Microsoft.MixedReality.Toolkit.Boundary.BoundaryType.TrackedArea);
abstract member Contains : UnityEngine.Vector3 * Microsoft.MixedReality.Toolkit.Boundary.BoundaryType -> bool
override this.Contains : UnityEngine.Vector3 * Microsoft.MixedReality.Toolkit.Boundary.BoundaryType -> bool
Public Function Contains (location As Vector3, Optional boundaryType As BoundaryType = Microsoft.MixedReality.Toolkit.Boundary.BoundaryType.TrackedArea) As Boolean

Parameters

location
UnityEngine.Vector3

The location to be checked.

boundaryType
BoundaryType

The type of boundary space being checked.

Returns

True if the location is within the specified area of the boundary space.

Implements

Applies to