Class DebugRendererRecorder

All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<JoltPhysicsObject>

public class DebugRendererRecorder extends DebugRenderer
A DebugRenderer that records events for future playback.
  • Constructor Details

    • DebugRendererRecorder

      public DebugRendererRecorder(StreamOut stream)
      Instantiate a recorder that uses the specified stream for output.
      Parameters:
      stream - the output stream to use (not null)
  • Method Details

    • endFrame

      public void endFrame()
      Signify the end of a frame.