BBMOD_SphereEmissionModule

A constructor defined in BBMOD_SphereEmissionModule.gml

Extends BBMOD_ParticleModule

new BBMOD_SphereEmissionModule([_radius[, _inside]])

Description

A particle module that positions spawned particles into a sphere shape.

Arguments

Name Type Description
_radius Real The radius of the sphere. Defaults to 0.5.
_inside Bool Whether the particles can be spawned inside the sphere. Defaults to true.

Properties

Name Description
Inside If true, then the particles can be spawned inside the sphere. Default value is true.
Radius The radius of the sphere. Default value is 0.5.

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.PositionX, BBMOD_EParticle.PositionY, BBMOD_EParticle.PositionZ

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.