A constructor defined in bbmod_randomrotationmodule.gml
Extends BBMOD_ParticleModule
new BBMOD_RandomRotationModule([_axis[, _from[, _to]]])
A particle module that randomly sets particles' rotation on their spawn.
Name | Type | Description |
---|---|---|
_axis | Struct.BBMOD_Vec3 |
The axis of rotation. Defaults to BBMOD_VEC3_UP. |
_from | Real |
The minimum angle of rotation. Defaults to 0. |
_to | Real |
The maximum angle of rotation. Defaults to 360. |
Name | Description |
---|---|
Axis | The axis of rotation. Default value is BBMOD_VEC3_UP. |
From | The minimum angle of rotation. Default value is 0. |
To | The maximum angle of rotation. Default value is 360. |
Name | Description |
---|---|
Enabled | If true then the module is enabled. Defaults value is true . |
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. |
BBMOD_EParticle.RotationW, BBMOD_EParticle.RotationX, BBMOD_EParticle.RotationY, BBMOD_EParticle.RotationZ
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.