@minecraft/debug-utilities
    Preparing search index...

    Class DebugDrawerBeta

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

    Index

    Methods

    • Beta

      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.

    • Beta

      Returns void

      Removes all debug shapes from the world.

    • Beta

      Parameters

      Returns void

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