Skip to content
ClassGame Objects & Sprites@public

FlxEmitterRenderHandle

Pixi projection of an authoritative, group-backed emitter pool.

ts
export declare class FlxEmitterRenderHandle implements FlxRenderHandle

Constructors

ts
constructor(owner: FlxEmitter, options?: FlxEmitterRenderOptions, onDestroy?: () => void)

Constructs a new instance of the FlxEmitterRenderHandle class

ParameterTypeDescription
ownerFlxEmitter-
optionsFlxEmitterRenderOptions-
onDestroy() => void-

Properties

PropertyModifiersTypeDescription
destroyedreadonlyboolean-
optimizedreadonlyboolean-
particleContainerreadonlyParticleContainer<Particle> | null-
projectedParticleCountreadonlynumber-
viewreadonlyContainer<import("pixi.js").ContainerChild>-

Methods

destroy()

ts
destroy(): void

Returns: void

sync()

ts
sync(camera?: FlxCamera, interpolationAlpha?: number): void

Parameters:

ParameterTypeDescription
cameraFlxCamera-
interpolationAlphanumber-

Returns: void

Released under the MIT License.