BBMOD_AABBEmissionModule

A constructor defined in BBMOD_AABBEmissionModule.gml

Extends BBMOD_ParticleModule

new BBMOD_AABBEmissionModule([_min[, _max[, _inside]]])

Description

A particle module that positions spawned particles into an AABB shape.

Arguments

Name Type Description
_min Struct.BBMOD_Vec3 The minimum coordinate of the AABB. Defaults to (-0.5, -0.5, -0.5).
_max Struct.BBMOD_Vec3 The maximum coordinate of the AABB. Defaults to (0.5, 0.5, 0.5).
_inside Bool If true then the particles can be spawned inside of the AABB. Defaults to true.

Properties

Name Description
Inside If true then the particles can be spawned inside of the AABB. Default value is true.
Max The maximum coordinate of the AABB. Default value is to (0.5, 0.5, 0.5).
Min The minimum coordinate of the AABB. Default value is to (-0.5, -0.5, -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 13, 2024 using GMDoc.