Options
All
  • Public
  • Public/Protected
  • All
Menu

The renderer for a gdjs.Layer using Pixi.js.

Hierarchy

  • LayerPixiRenderer

Index

Methods

  • addRendererObject(pixiChild: any, zOrder: number): void
  • Add a child to the pixi container associated to the layer. All objects which are on this layer must be children of this container.

    Parameters

    • pixiChild: any

      The child (PIXI object) to be added.

    • zOrder: number

      The z order of the associated object.

    Returns void

  • changeRendererObjectZOrder(pixiChild: any, newZOrder: number): void
  • getLightingSprite(): null | Sprite
  • getRendererObject(): Container
  • removeRendererObject(child: any): void
  • updateClearColor(): void
  • updatePosition(): void
  • updatePreRender(): void
  • updateVisibility(visible: boolean): void

Constructors

Properties

zeroZOrder: number = ...

Pixi doesn't sort children with zIndex == 0.

Generated using TypeDoc