CLEAR

BoundingBoxSignal


The BoundingBoxSignal class monitors bounding box values.

Properties

PropertyDescription

center

(get) x: Point2DSignal (set) (Not Available)

Represents the center of the bounding box, in normalized screen space units.

height

(get) x: ScalarSignal (set) (Not Available)

Represents the height of the bounding box, in normalized screen space units.

width

(get) x: ScalarSignal (set) (Not Available)

Represents the width of the bounding box, in normalized screen space units.

x

(get) x: ScalarSignal (set) (Not Available)

Represents the X-position of top left corner of the bounding box, in normalized screen space units.

y

(get) x: ScalarSignal (set) (Not Available)

Represents the Y-position of top left corner of the bounding box, in normalized screen space units.

Methods

MethodDescription

valueOf (inherited from ISignal)

valueOf(): void

Throws an error. Signals are not supposed to be implicitly converted to scalar values.

See also: ScalarSignal.add, ScalarSignal.sub, ScalarSignal.mul, ScalarSignal.div