Package gaiasky.desktop.util.camera
Class CamRecorder
java.lang.Object
gaiasky.desktop.util.camera.CamRecorder
- All Implemented Interfaces:
IObserver
public class CamRecorder extends java.lang.Object implements IObserver
Contains the logic to record the camera state at each frame. The format is as
follows: > time[s](float) cam_pos(double x3) cam_dir(double x3) cam_up(double
x3)
The time is the time in seconds since the start of the recording, to synchronize with the current FPS in playing mode.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CamRecorder.RecorderState
-
Field Summary
Fields Modifier and Type Field Description static CamRecorder
instance
Singleton -
Constructor Summary
Constructors Constructor Description CamRecorder()
-
Method Summary
Modifier and Type Method Description static void
initialize()
void
notify(Events event, java.lang.Object... data)
void
update(ITimeFrameProvider time, Vector3d position, Vector3d direction, Vector3d up)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait