Click or drag to resize

RectUtilsIsPointWithinRectAABB Method

Returns true if the point is within the axis aligned bounding box, otherwise false. Expects a rectangle defined in the following format: array index 0 is the bottom left (position 0,0), with indexes increasing clockwise around the rectangle.

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public static bool IsPointWithinRectAABB(
	UnityEngine.Vector3 screenPoint,
	UnityEngine.Vector3[] rect
)

Parameters

screenPoint
Type: UnityEngine.Vector3
rect
Type: UnityEngine.Vector3

Return Value

Type: Boolean
See Also