RectExitArea
Extends: ExitArea
An axis-aligned rectangle, its low edges inside and its high edges not.
Properties
x(float)y(float) — z on the xz planewidth(float)height(float)
Constructor
new RectExitArea(
x: float,
y: float,
width: float,
height: float,
plane?: BGE.SeparationPlane,
): RectExitAreaParameters
x(float) — the low x edgey(float) — the low y edge (z on the xz plane)width(float)height(float) — along y (z on the xz plane)plane(BGE.SeparationPlane, optional, default: "BGE.SeparationPlane.xz")
Instance Methods
contains(position: BGE.Math.Vector): boolean
Parameters
position(BGE.Math.Vector)
Returns
boolean