LogoPixi’VN
pixi-jsFunctions

Function: getGlobalBounds()

> getGlobalBounds(target, skipUpdateTransform, bounds): Bounds

Defined in: node_modules/pixi.js/lib/scene/container/bounds/getGlobalBounds.d.ts:12

Internal

Gets the global bounds of a container, including all its children

Parameters

target

Container

The target container to get the bounds from

skipUpdateTransform

boolean

If true, the transform will not be updated before calculating bounds.

bounds

Bounds

The output bounds object.

Returns

Bounds

The bounds.