BBMOD_MixColorModule

A constructor defined in bbmod_mixcolormodule.gml

Extends BBMOD_ParticleModule

new BBMOD_MixColorModule([_property[, _from[, _to]]])

Description

A universal particle module that randomly mixes particles' color property when they are spawned.

Arguments

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 to mix from. Defaults to BBMOD_C_WHITE.
_to Struct.BBMOD_Color The value to mix to. Defaults to _from.

Properties

Name Description
From The color to mix from. Default value is BBMOD_C_WHITE.
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 to mix to. Default value is the same as BBMOD_MixColorModule.From.

Inherited properties

Name Description
Enabled If true then the module is enabled. Defaults value is true.

Inherited methods

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.

See also

BBMOD_EParticle

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.