interface Particle {
    age: number;
    color: Vector4;
    emissionState?: EmissionState;
    life: number;
    memory: GeneratorMemory;
    parentMatrix?: Matrix4;
    position: Vector3;
    rotation?: number | Quaternion;
    size: Vector3;
    speedModifier: number;
    startColor: Vector4;
    startSize: Vector3;
    startSpeed: number;
    uvTile: number;
    velocity: Vector3;
    get died(): boolean;
    reset(): void;
}

Hierarchy (View Summary)

Implemented by

Properties

age: number

Age of the particle.

color: Vector4

Color of the particle.

emissionState?: EmissionState

Emission state of the particle.

life: number

Life duration of the particle.

the memory of the particle.

parentMatrix?: Matrix4

Parent matrix for transformation.

position: Vector3

Position of the particle.

rotation?: number | Quaternion

Rotation of the particle.

size: Vector3

Size of the particle.

speedModifier: number

Speed modifier of the particle.

startColor: Vector4

Initial color of the particle.

startSize: Vector3

Initial size of the particle.

startSpeed: number

Initial speed of the particle.

uvTile: number

UV tile index.

velocity: Vector3

Velocity of the particle.

Accessors

  • get died(): boolean
  • Indicates if the particle has died.

    Returns boolean

Methods