Particle

Particle

Description

class Particle

Constructor

new Particle(particleSystem)

Parameters

Name Type Description
particleSystem ParticleSystem

Members

position : Vector3

direction : Vector3

color : Color4

colorStep : Color4

lifeTime : number

age : number

size : number

angle : number

angularSpeed : number

cellIndex : number

updateCellIndex : (scaledUpdateSpeed: number) => void

Parameters

Name Type Description
scaledUpdateSpeed number

Methods

copyTo(other) void

Parameters

Name Type Description
other Particle