hgeParticleSystem::Transpose
Adds constant particle system's coordinates shift.
void Transpose(
float dx,
float dy
);
Parameters
- dx
- X-coordinate displacement.
- dy
- Y-coordinate displacement.
Remarks
Unlike MoveTo this function doesn't physically
changes coordinates of the emitter and it's particles. It just adds a constant offset
into the particle system geometry pipeline. This is useful when you want to move
a particle system with all it's particles (faster than MoveTo) and also
allows you to manipulate particle system in game-space coordinates (game level/map scrolling).
Requirements
Header: hgeparticle.h
Import library: hgehelp.lib
See also
GetTransposition,
MoveTo,
GetPosition
|