Click or drag to resize

RectUtilsIs3dPointWithinRect Method

Returns true if the point is within the rectangle, otherwise false. Expects a rectangle defined in the following format: list index 0 is the bottom left (0,0), with indexes increasing clockwise around the rectangle, e.g. [bottomLeft, topLeft, topRight, bottomRight]

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static bool Is3dPointWithinRect(
	UnityEngine.Vector3 point,
	List<UnityEngine.Vector3> rect
)

Parameters

point
Type: UnityEngine.Vector3
rect
Type: System.Collections.GenericListUnityEngine.Vector3

Return Value

Type: Boolean
See Also