|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.camera.recorder.Recorder
public class Recorder
This class can be used to record a camera path by manually flying the cam across the scene.
| Constructor Summary | |
|---|---|
Recorder(int framesPerSecond)
Creates a new recorder for camera flights with the specified frames per second (how many checkpoint are to be created in one second). |
|
| Method Summary | |
|---|---|
CameraFlight |
getRecordedCameraFlight()
Returns the recorded camera flight. |
boolean |
isRecording()
Determines whether or not the recorder is recording at the moment. |
void |
reset()
Resets the recorder to initial status. |
void |
save(java.lang.String pathToFile)
Saves the recorded camera flight to a file with the specified file path. |
void |
start()
Starts the recording of checkpoints (frames) according to the frames per second specified earlier. |
void |
stop()
Stops/pauses the recording of frames (checkpoints). |
void |
update(long elapsedTime)
Updates the recorder according to the elapsed time. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Recorder(int framesPerSecond)
framesPerSecond - number of frames (checkpoint) that are to be
recorded in one second.| Method Detail |
|---|
public void start()
public boolean isRecording()
public void stop()
public void reset()
public void update(long elapsedTime)
elapsedTime - time between two render framespublic CameraFlight getRecordedCameraFlight()
public void save(java.lang.String pathToFile)
pathToFile - path to the file into which the recorded data gets
saved
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||