A constructor defined in bbmod_mixrealfromspeedmodule.gml
Extends BBMOD_ParticleModule
new BBMOD_MixRealFromSpeedModule([_property[, _from[, _to[, _min[, _max]]]]])
A universal particle module that mixes value of particles' property between two values based on the magnitude of their velocity vector.
Name | Type | Description |
---|---|---|
_property | Real |
The property to set initial value of. Use values from BBMOD_EParticle. Defaults to undefined . |
_from | Real |
The value when the particle has full health. Defaults to 0.0. |
_to | Real |
The value when the particle has no health left. Defaults to _from . |
_min | Real |
If the particles' speed is less than this, then the property is equal to _from . Defaults to 0.0. |
_max | Real |
If the particles' speed is greater than this, then the property is equal to _to . Defaults to 1.0. |
Name | Description |
---|---|
From | The value when the particle has full health. Default value is 0.0. |
Max | If the particles' speed is greater than this, then the property is equal to BBMOD_MixRealFromSpeedModule.To. Default value is 1.0. |
Min | If the particles' speed is less than this, then the property is equal to BBMOD_MixRealFromSpeedModule.From. Default value is 0.0. |
Property | The property to set initial value of. Use values from BBMOD_EParticle. Default value is undefined . |
To | The value when the particle has no health left. Default value is the same as BBMOD_MixRealFromSpeedModule.From. |
Name | Description |
---|---|
Enabled | If true then the module is enabled. Defaults value is true . |
Name | Description |
---|---|
on_finish | Executed once at the end of the emitter's emission cycle. Never executed if the emitted particle system is looping! |
on_particle_finish | Executed when a particle dies. |
on_particle_start | Executed when a new particle is spawned. |
on_start | Executed at the beginning of the emitter's emission cycle and every time it loops. |
on_update | Executed every time the emitter is updated. |
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.