Jolt Physics
A multi core friendly Game Physics Engine
|
Class that can read a recorded stream from DebugRendererRecorder and plays it back trough a DebugRenderer. More...
#include <DebugRendererPlayback.h>
Public Member Functions | |
DebugRendererPlayback (DebugRenderer &inRenderer) | |
Constructor. | |
void | Parse (StreamIn &inStream) |
Parse a stream of frames. | |
uint | GetNumFrames () const |
Get the number of parsed frames. | |
void | DrawFrame (uint inFrameNumber) const |
Draw a frame. | |
Class that can read a recorded stream from DebugRendererRecorder and plays it back trough a DebugRenderer.
|
inline |
Constructor.
void DebugRendererPlayback::DrawFrame | ( | uint | inFrameNumber | ) | const |
Draw a frame.
|
inline |
Get the number of parsed frames.
JPH_NAMESPACE_BEGIN void DebugRendererPlayback::Parse | ( | StreamIn & | inStream | ) |
Parse a stream of frames.