Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • SpriteRuntimeObjectPixiRenderer

Index

Constructors

Methods

  • ensureUpToDate(): void
  • Call this to make sure the sprite is ready to be rendered.

    Returns void

  • getAnimationFrame(imageManager: any, imageName: any): any
  • Parameters

    • imageManager: any
    • imageName: any

    Returns any

  • getAnimationFrameHeight(pixiTexture: any): any
  • Parameters

    • pixiTexture: any

    Returns any

  • getAnimationFrameWidth(pixiTexture: any): any
  • Parameters

    • pixiTexture: any

    Returns any

  • getColor(): string
  • Returns string

  • getHeight(): number
  • Returns number

  • getRendererObject(): Sprite
  • Returns Sprite

  • getUnscaledHeight(): number
  • Returns number

  • getUnscaledWidth(): number
  • Returns number

  • getWidth(): number
  • Returns number

  • setColor(rgbColor: any): void
  • Parameters

    • rgbColor: any

    Returns void

  • update(): void
  • Returns void

  • updateAngle(): void
  • Returns void

  • updateFrame(animationFrame: any): void
  • Update the internal texture of the PIXI sprite.

    Parameters

    • animationFrame: any

    Returns void

  • updateOpacity(): void
  • Returns void

  • updateVisibility(): void
  • Returns void

  • updateX(): void
  • Returns void

  • updateY(): void
  • Returns void

Generated using TypeDoc