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. More... | |
void | Parse (StreamIn &inStream) |
Parse a stream of frames. More... | |
uint | GetNumFrames () const |
Get the number of parsed frames. More... | |
void | DrawFrame (uint inFrameNumber) const |
Draw a frame. More... | |
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.