Debug Drawing class used to allow adding and removing wireframe shapes in world space.

Constructors

Methods

  • Parameters

    • shape: DebugShape

      The debug shape to be added. Should be of type DebugBox, DebugLine, DebugCircle, DebugSphere, DebugArrow or DebugText.

    Returns void

    Adds a new debug shape to the world.

  • Returns void

    Removes all debug shapes from the world.

  • Parameters

    Returns void

    Removes an instance of a debug shape from the world. This is equivalent to calling remove on the shape itself.