A constructor defined in BBMOD_ParticleSystem.gml
Implements BBMOD_IDestructible
new BBMOD_ParticleSystem(_model, _material, _particleCount[, _batchSize])
A collection of particle modules that together define behavior of particles.
Name | Type | Description |
---|---|---|
_model | Struct.BBMOD_Model |
The particle model. |
_material | Struct.BBMOD_Material |
The material used by the particle system. |
_particleCount | Real |
Maximum number of particles alive in the system. |
_batchSize | Real |
Number of particles rendered in a single draw call. Default value is 32. |
Name | Description |
---|---|
Duration | How long in seconds is the system emitting particles for. Default value is 5s. |
Loop | If true then the emission cycle repeats after the duration. Default value is false . |
Material | _material The material used by the particle system. |
Modules | An array of modules affecting individual particles in this system. |
ParticleCount | Maximum number of particles alive in the system. |
Sort | Use true to sort particles back to front. This should be enabled if you would like to use alpha blending. Default value is false . |
Name | Description |
---|---|
add_modules | Adds modules to the particle system. |
destroy | Frees memory used by the struct. |
BBMOD_MATERIAL_PARTICLE_LIT, BBMOD_MATERIAL_PARTICLE_UNLIT, BBMOD_MODEL_PARTICLE, BBMOD_ParticleEmitter, BBMOD_ParticleModule
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.