interface IParticle {
    age: number;
    color: Vector4;
    life: number;
    memory: GeneratorMemory;
    position: Vector3;
    rotation?: number | Quaternion;
    size: Vector3;
    uvTile: number;
    velocity: Vector3;
    get died(): boolean;
}

Hierarchy (View Summary)

Implemented by

Properties

age: number

Age of the particle.

color: Vector4

Color of the particle.

life: number

Life duration of the particle.

the memory of the particle.

position: Vector3

Position of the particle.

rotation?: number | Quaternion

Rotation of the particle.

size: Vector3

Size 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