Skip to content

@blooper.gg/toodle


@blooper.gg/toodle / scene/SceneNode / Bounds

Type Alias: Bounds

Bounds = object

Defined in: scene/SceneNode.ts:640

Bounds represent a bounding box of a rectangle in world space

Properties

bottom

bottom: number

Defined in: scene/SceneNode.ts:660

for an axis-aligned rectangle, bottom is the bottom edge. for a rotated rectangle, it is the bottommost point


left

left: number

Defined in: scene/SceneNode.ts:650

for an axis-aligned rectangle, left is the left edge. for a rotated rectangle, it is the leftmost point


right: number

Defined in: scene/SceneNode.ts:655

for an axis-aligned rectangle, right is the right edge. for a rotated rectangle, it is the rightmost point


top

top: number

Defined in: scene/SceneNode.ts:645

for an axis-aligned rectangle, top is the top edge. for a rotated rectangle, it is the topmost point


x

x: number

Defined in: scene/SceneNode.ts:664

the center x of the node in world space


y

y: number

Defined in: scene/SceneNode.ts:668

the center y of the node in world space