BBMOD_SetQuaternionModule

A constructor defined in bbmod_setquaternionmodule.gml

Extends BBMOD_ParticleModule

new BBMOD_SetQuaternionModule([_property[, _value]])

Description

A universal particle module that sets initial value of particles' quaternion property when they are spawned.

Arguments

Name Type Description
_property Real The first of the four properties that together form a quaternion. Use values from BBMOD_EParticle. Defaults to undefined.
_value Struct.BBMOD_Quaternion The initial value of the quaternion property. Defaults to an identity quaternion.

Properties

Name Description
Property The first of the four properties that together form a quaternion. Use values from BBMOD_EParticle. Defaults to undefined.
Value The initial value of the quaternion property. Default value is an idenitity quaternion.

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

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.