Skip to content

pixi-display-object.component overview


Table of contents


utils

PixiDisplayObjectComponent (class)

Signature

export declare class PixiDisplayObjectComponent {
  constructor(public nativeSprite: Container)
}

isEmpty (method)

Signature

public isEmpty(): boolean

popChild (method)

Signature

popChild(name: string): PixiDisplayObjectComponent | null

getBoundings (method)

Signature

getBoundings(): GgBox2d

clone (method)

Signature

clone(): PixiDisplayObjectComponent

addToWorld (method)

Signature

addToWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D, PhysicsTypeDocRepo2D, PixiSceneComponent>): void

removeFromWorld (method)

Signature

removeFromWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D, PhysicsTypeDocRepo2D, PixiSceneComponent>): void

dispose (method)

Signature

dispose(): void

entity (property)

Signature

entity: any

name (property)

Signature

name: string