IMixedRealityBoundarySystem.TryGetRectangularBoundsParams 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.
Returns the description of the inscribed rectangular bounds.
public:
bool TryGetRectangularBoundsParams([Runtime::InteropServices::Out] UnityEngine::Vector2 % center, [Runtime::InteropServices::Out] float % angle, [Runtime::InteropServices::Out] float % width, [Runtime::InteropServices::Out] float % height);
public bool TryGetRectangularBoundsParams (out UnityEngine.Vector2 center, out float angle, out float width, out float height);
abstract member TryGetRectangularBoundsParams : Vector2 * single * single * single -> bool
Public Function TryGetRectangularBoundsParams (ByRef center As Vector2, ByRef angle As Single, ByRef width As Single, ByRef height As Single) As Boolean
Parameters
- center
- UnityEngine.Vector2
The center of the rectangle.
- angle
- Single
The orientation of the rectangle.
- width
- Single
The width of the rectangle.
- height
- Single
The height of the rectangle.
Returns
True if an inscribed rectangle was found in the boundary geometry, false otherwise.