Skip to main content

DebugDraw

Index

Methods

drawLine

drawPoint

drawRect

  • drawRect(x: number, y: number, width: number, height: number, rectOptions?: RectGraphicsOptions): void
  • Draw a debugging rectangle to the screen


    Parameters

    Returns void

drawText

  • drawText(text: string, pos: Vector): void
  • Draw debug text


    Parameters

    Returns void

Page Options