Click or drag to resize

RectUtils Methods

The RectUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIs3dPointWithinRect
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]
Public methodStatic memberIsPointWithinRect
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.
Public methodStatic memberIsPointWithinRectAABB
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.
Top
See Also