import { Module, ModuleObject } from "../module"; import { Particle } from "../particle"; import { ParticleEffect } from "../particleEffect"; /** * Module that assigns each particle random _rotational velocity_. * This causes the particle to continuously rotate with a static speed along its lifetime. * * Rotational velocity range can be customized with `min` and `max` properties. * * @module * @category Initializer * min { * @tooltip TODO * @type Number * @step 0.25 * @defaultValue -5.0 * } * max { * @tooltip TODO * @type Number * @step 0.25 * @defaultValue 5.0 * } */ export declare class RandomRotationalVelocity extends Module { /** * Min rotational velocity as **Radians per second** */ min: number; /** * Max rotational velocity as **Radians per second** */ max: number; init(): void; handleParticleAdd: (particle: Particle) => void; /** * Wrap the properties of the module into a JSON containing only primitive JavaScript data types * (such as numbers, strings, etc.) that can be serialized into strings natively. */ toObject(): ModuleObject; static fromObject(particleEffect: ParticleEffect, object: ModuleObject, hideWarnings: boolean): RandomRotationalVelocity; /** * Serializable identifier for the module. * * This must be unique between all existing Modules in the library. */ static moduleTypeId: string; }