pixi-jsFunctions
~~Function: getFastGlobalBounds()~~
> getFastGlobalBounds(target, bounds): Bounds
Defined in: node_modules/pixi.js/lib/scene/container/bounds/getFastGlobalBounds.d.ts:17
Internal
Does exactly the same as getGlobalBounds, but does instead makes use of transforming AABBs of the various children within the scene graph. This is much faster, but less accurate.
Deprecated, use container.getFastGlobalBounds() instead.
the result will never be smaller - only ever slightly larger (in most cases, it will be the same).
Parameters
target
The target container to get the bounds from
bounds
The output bounds object.
Returns
The bounds.
Deprecated
since 8.7.0
See
container.getFastGlobalBounds