ClassGame Objects & Sprites@public
FlxEmitterRenderHandle
Pixi projection of an authoritative, group-backed emitter pool.
ts
export declare class FlxEmitterRenderHandle implements FlxRenderHandleConstructors
ts
constructor(owner: FlxEmitter, options?: FlxEmitterRenderOptions, onDestroy?: () => void)Constructs a new instance of the FlxEmitterRenderHandle class
| Parameter | Type | Description |
|---|---|---|
owner | FlxEmitter | - |
options | FlxEmitterRenderOptions | - |
onDestroy | () => void | - |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
destroyed | readonly | boolean | - |
optimized | readonly | boolean | - |
particleContainer | readonly | ParticleContainer<Particle> | null | - |
projectedParticleCount | readonly | number | - |
view | readonly | Container<import("pixi.js").ContainerChild> | - |
Methods
destroy()
ts
destroy(): voidReturns: void
sync()
ts
sync(camera?: FlxCamera, interpolationAlpha?: number): voidParameters:
| Parameter | Type | Description |
|---|---|---|
camera | FlxCamera | - |
interpolationAlpha | number | - |
Returns: void