Options
All
  • Public
  • Public/Protected
  • All
Menu

A renderer for debug instances location of a container using Pixi.js.

see

gdjs.CustomObjectPixiRenderer

Hierarchy

  • DebuggerPixiRenderer

Index

Methods

  • clearDebugDraw(): void
  • Returns void

  • getRendererObject(): null | Container
  • Returns null | Container

  • renderDebugDraw(instances: RuntimeObject[], showHiddenInstances: boolean, showPointsNames: boolean, showCustomPoints: boolean): void
  • Render graphics for debugging purpose. Activate this in gdjs.RuntimeScene, in the renderAndStep method.

    see

    gdjs.RuntimeInstanceContainer#enableDebugDraw

    Parameters

    • instances: RuntimeObject[]
    • showHiddenInstances: boolean
    • showPointsNames: boolean
    • showCustomPoints: boolean

    Returns void

Constructors

Generated using TypeDoc