編集

次の方法で共有


IMixedRealityBoundarySystem.TryGetRectangularBoundsParams Method

Definition

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.

Applies to