Set3DParticlesStartZone
Description
Sets the area around the emitter where new particles may appear. The values are relative to the emitter position, for example a zone of 0,0,0,0 would mean that all particles start on the emitter position point. A zone of -10 in x and +10 x, with y and z being 0 (-10,0,0,10,0,0) would create a line centered on the emitter position that particles would randomly appear along. A box zone where x, y, and z are non-zero would mean that particles could start at any point inside the box.
Definition
Set3DParticlesStartZone( ID, x1, y1, z1, x2, y2, z2 )
void agk::Set3DParticlesStartZone( UINT ID, float x1, float y1, float z1, float x2, float y2, float z2 )
Parameters
- ID - The ID of the emitter to modify.
- x1 - The x coordinate of the top left corner of the start zone.
- y1 - The y coordinate of the top left corner of the start zone.
- z1 - The z coordinate of the top left corner of the start zone.
- x2 - The x coordinate of the bottom right corner of the start zone.
- y2 - The y coordinate of the bottom right corner of the start zone.
- z2 - The z coordinate of the bottom right corner of the start zone.