Skip to content

ParticleContainer

Enhanced PIXI Container that has: a factory for adding children, a reference to the Application instance, a signal connection manager, and auto update / resize capabilities ParticleContainer

Extends

  • ParticleContainer

Constructors

new ParticleContainer()

new ParticleContainer(props, autoResize, autoUpdate): ParticleContainer

Parameters

props: Partial<ParticleContainerProps>= {}

autoResize: boolean= true

autoUpdate: boolean= false

Returns

ParticleContainer

Overrides

PIXIParticleContainer.constructor

Source

src/gameobjects/ParticleContainer.ts:40

Properties

childrenEditable

childrenEditable: boolean = true

Source

src/gameobjects/ParticleContainer.ts:33


editable

editable: boolean = true

Source

src/gameobjects/ParticleContainer.ts:32


__dill_pixel_top_level_class

static __dill_pixel_top_level_class: boolean = true

Source

src/gameobjects/ParticleContainer.ts:31

Accessors

add

get add(): Add

Returns

Add

Source

src/gameobjects/ParticleContainer.ts:81


app

get app(): Application<any>

Returns

Application<any>

Source

src/gameobjects/ParticleContainer.ts:89


editMode

get editMode(): boolean

set editMode(value): void

Parameters

value: boolean

Returns

boolean

Source

src/gameobjects/ParticleContainer.ts:68


make

get make(): typeof Make

Returns

typeof Make

Source

src/gameobjects/ParticleContainer.ts:85

Methods

destroy()

destroy(_options?): void

Parameters

_options?: boolean | IDestroyOptions

Returns

void

Overrides

PIXIParticleContainer.destroy

Source

src/gameobjects/ParticleContainer.ts:93


disableEditMode()

disableEditMode(): void

Returns

void

Source

src/gameobjects/ParticleContainer.ts:102


enableEditMode()

enableEditMode(): void

Returns

void

Source

src/gameobjects/ParticleContainer.ts:98


onResize()

onResize(_size): void

Parameters

_size: IPoint

Returns

void

Source

src/gameobjects/ParticleContainer.ts:108


update()

update(_deltaTime): void

Parameters

_deltaTime: number

Returns

void

Source

src/gameobjects/ParticleContainer.ts:112