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 classCamRecorder.RecorderState
-
Field Summary
Fields Modifier and Type Field Description static CamRecorderinstanceSingleton
-
Constructor Summary
Constructors Constructor Description CamRecorder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidinitialize()voidnotify(Events event, java.lang.Object... data)voidupdate(ITimeFrameProvider time, Vector3d position, Vector3d direction, Vector3d up)
-
-
-
Field Detail
-
instance
public static CamRecorder instance
Singleton
-
-