RectUtils Class |
Namespace: ImmerseSDK
public static class RectUtils
The RectUtils type exposes the following members.
Name | Description | |
---|---|---|
Is3dPointWithinRect |
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]
| |
IsPointWithinRect |
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.
| |
IsPointWithinRectAABB |
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.
|