Package com.github.stephengold.joltjni
Class DebugRendererRecorder
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.DebugRenderer
com.github.stephengold.joltjni.DebugRendererRecorder
- All Implemented Interfaces:
ConstJoltPhysicsObject
,AutoCloseable
,Comparable<JoltPhysicsObject>
A
DebugRenderer
that records events for future playback.-
Constructor Summary
ConstructorsConstructorDescriptionDebugRendererRecorder
(StreamOut stream) Instantiate a recorder that uses the specified stream for output. -
Method Summary
Methods inherited from class com.github.stephengold.joltjni.DebugRenderer
drawArrow, drawBox, drawBox, drawBox, drawBox, drawBox, drawBox, drawCapsule, drawCapsule, drawCapsule, drawCoordinateSystem, drawCoordinateSystem, drawCylinder, drawCylinder, drawCylinder, drawLine, drawMarker, drawPlane, drawSphere, drawSphere, drawSphere, drawText3D, drawText3D, drawText3D, drawTriangle, drawWireBox, drawWireBox, drawWireBox, drawWirePolygon, drawWirePolygon, drawWireSphere, drawWireSphere, drawWireTriangle, drawWireUnitSphere, drawWireUnitSphere, nextFrame, sInstance
Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Constructor Details
-
DebugRendererRecorder
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.
-