BBMOD_EParticle

enum

Description

Enumeration of particle properties.

Members

Name Description
Id The ID of the particle, unique within the emitter which spawned it.
IsAlive Whether the particle is alive. If not, then the rest of the data can be nonsense. All particles within a particle system are dead at the start.
TimeAlive How long in seconds has the particle been alive for. This is set to 0 on spawn and increases on every update.
Health The particle's initial health value. Default value is 1.
HealthLeft The particle's remaining health. The particle dies when this reaches 0. Default value is 1, same as for BBMOD_EParticle.Health.
PositionX The particle's X position in world-space. This is set to the emitter's X position on spawn.
PositionY The particle's Y position in world-space. This is set to the emitter's Y position on spawn.
PositionZ The particle's Z position in world-space. This is set to the emitter's Z position on spawn.
VelocityX The particle's velocity on the X axis. Default value is 0.
VelocityY The particle's velocity on the Y axis. Default value is 0.
VelocityZ The particle's velocity on the Z axis. Default value is 0.
AccelerationX The particle's acceleration on the X axis. Default value is 0.
AccelerationY The particle's acceleration on the Y axis. Default value is 0.
AccelerationZ The particle's acceleration on the Z axis. Default value is 0.
Mass The mass of the particle. Default value is 1 unit.
Drag The particle's resistance to motion. Default value is 0.
Bounce Modulates particle velocity on collision. Default value is 0.
HasCollided If true then the particle has collided. This is set to false at the beginning of every update.
AccelerationRealX Internal use only!
AccelerationRealY Internal use only!
AccelerationRealZ Internal use only!
RotationX The first component of the particle's quaternion rotation. Default value is 0.
RotationY The second component of the particle's quaternion rotation. Default value is 0.
RotationZ The third component of the particle's quaternion rotation. Default value is 0.
RotationW The fourth component of the particle's quaternion rotation. Default value is 1.
ScaleX The particle's scale on the X axis. Default value is 1.
ScaleY The particle's scale on the Y axis. Default value is 1.
ScaleZ The particle's scale on the Z axis. Default value is 1.
ColorR The red value of the particle's color. Default value is 255.
ColorG The green value of the particle's color. Default value is 255.
ColorB The blue value of the particle's color. Default value is 255.
ColorA The alpha value of the particle's color. Default value is 1.
SIZE Total number of members of this enum.

See also

BBMOD_ParticleEmitter.Particles

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on July 23, 2022 using GMDoc.