BaseBoundarySystem.Contains(Vector3, BoundaryType) 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.
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.