hgeParticleSystem::GetBoundingBox

Returns the particle system bounding box.

hgeRect *GetBoundingBox(
  hgeRect *rect
);

Parameters

rect
Pointer to a hgeRect object to store the bounding box to.

Return value

Returns rect parameter.

Remarks

By default the bounding box tracking is turned off for performance reasons. If you need this feature you should enable it explicitly with TrackBoundingBox call.

The bounding box is calculated considering the particle positions only, and the particle sprites' dimensions are ignored.

Requirements

Header: hgeparticle.h
Import library: hgehelp.lib

See also

TrackBoundingBox