A constructor defined in bbmod_mixvec4module.gml
Extends BBMOD_ParticleModule
new BBMOD_MixVec4Module([_property[, _from[, _to[, _separate]]]])
A universal particle module that randomly mixes initial values of particles' four consecutive properties between two values when they are spawned.
Name | Type | Description |
---|---|---|
_property | Real |
The first of the four consecutive properties. Use values from BBMOD_EParticle. Defaults to undefined . |
_from | Struct.BBMOD_Vec4 |
The value to mix from. Defaults to (0, 0, 0, 0) . |
_to | Struct.BBMOD_Vec4 |
The value to mix to. Defaults to _from . |
_separate | Bool |
If true , then each component is mixed independently on other components, otherwise all components are mixed using the same factor. Defaults to true . |
Name | Description |
---|---|
From | The initial value to mix from. Default value is (0, 0, 0, 0) . |
Property | The first of the four consecutive properties. Use values from BBMOD_EParticle. Default value is undefined . |
Separate | If true , then each component is mixed independently on other components. Default value is true . |
To | The initial value to mix to. Default value is the same as BBMOD_MixVec4Module.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.