pixi-jsFunctions
Function: getGeometryBounds()
> getGeometryBounds(geometry, attributeId, bounds): Bounds
Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/utils/getGeometryBounds.d.ts:11
Internal
Gets the 2D bounds of a geometry, based on a specific attribute.
Parameters
geometry
Geometry to to measure
attributeId
string
AttributeId that contains the x,y data
bounds
Bounds to store the result in
Returns
the bounds