Class ParticleEmitterObjectPixiRenderer
Hierarchy
- ParticleEmitterObjectPixiRenderer
Methods
Static computeLifetime
- computeLifetime(flow: number, tank: number): number
getParticleCount
- getParticleCount(): number
isTextureNameValid
Parameters
Returns boolean
resetEmission
- resetEmission(flow: number, tank: number): void
setAdditiveRendering
- setAdditiveRendering(enabled: boolean): void
setAlpha
- setAlpha(alpha1: number, alpha2: number): void
Parameters
alpha1: number
alpha2: number
Returns void
setAngle
- setAngle(angle1: number, angle2: number): void
Parameters
angle1: number
angle2: number
Returns void
setColor
- setColor(r1: number, g1: number, b1: number, r2: number, g2: number, b2: number): void
Parameters
r1: number
g1: number
b1: number
r2: number
g2: number
b2: number
Returns void
setFlow
- setFlow(flow: number, tank: number): void
setForce
- setForce(min: number, max: number): void
setGravity
- setGravity(x: number, y: number): void
setLifeTime
- setLifeTime(min: number, max: number): void
setMaxParticlesCount
- setMaxParticlesCount(count: number): void
setParticleRotationSpeed
- setParticleRotationSpeed(min: number, max: number): void
setPosition
- setPosition(x: number, y: number): void
setSize
- setSize(size1: number, size2: number): void
Parameters
size1: number
size2: number
Returns void
setZoneRadius
- setZoneRadius(radius: number): void
update
- update(delta: number): void
Properties
started
started: boolean = false