A constructor defined in BBMOD_SetVec4Module.gml

Extends BBMOD_ParticleModule

new BBMOD_SetVec4Module([_property[, _value]])


A universal particle module that sets initial value of four consecutive particle properties when it is spawned.


Name Type Description
_property Real The first property. Use values from BBMOD_EParticle. Defaults to undefined.
_value Struct.BBMOD_Vec4 The initial value of the properties. Defaults to (0, 0, 0, 0).


Name Description
Property The first property. Use values from BBMOD_EParticle. Default value is undefined.
Value The initial value of the properties. Default value is (0, 0, 0, 0).

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


Do you find this page helpful?

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