Extends BBMOD_ParticleModule
constructor
new BBMOD_MixColorFromSpeedModule([_property[, _from[, _to[, _min[, _max]]]]])
A universal particle module that mixes particles' color property between two values based on the magnitude of their velocity vector.
Name | Type | Description |
---|---|---|
_property | Real |
The first of the four consecutive properties that together form a color. Use values from BBMOD_EParticle. Defaults to undefined . |
_from | Struct.BBMOD_Color |
The color when the particle has full health. Defaults to BBMOD_C_WHITE. |
_to | Struct.BBMOD_Color |
The color 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 color when the particle has full health. Default value is BBMOD_C_WHITE. |
Max | If the particles' speed is greater than this, then the property is equal to BBMOD_ColorFromSpeedModule.To. Default value is 1.0. |
Min | If the particles' speed is less than this, then the property is equal to BBMOD_ColorFromSpeedModule.From. Default value is 0.0. |
Property | The first of the four consecutive properties that together form a color. Use values from BBMOD_EParticle. Default value is undefined . |
To | The color when the particle has no health left. Default value is the same as BBMOD_MixColorFromSpeedModule.From. |
Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.