BBMOD_MixVec3Module

Extends BBMOD_ParticleModule

constructor

new BBMOD_MixVec3Module([_property[, _from[, _to[, _separate]]]])

Description

A universal particle module that randomly mixes initial values of particles' three consecutive properties between two values when they are spawned.

Arguments

Name Type Description
_property Real The first of the three consecutive properties. Use values from BBMOD_EParticle. Defaults to undefined.
_from Struct.BBMOD_Vec3 The value to mix from. Defaults to (0.0, 0.0, 0.0).
_to Struct.BBMOD_Vec3 The value to mix to. Defaults to _from.
_separate Bool If true, then each component is mixed independently on other components, otherwise all components are mixed using the same factor. Defaults to true.

Properties

Name Description
From The initial value to mix from. Default value is (0.0, 0.0, 0.0).
Property The first of the three consecutive properties. Use values from BBMOD_EParticle. Default value is undefined.
Separate If true, then each component is mixed independently on other components. Default value is true.
To The initial value to mix to. Default value is the same as BBMOD_MixVec3Module.From.

See also

BBMOD_EParticle

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.