|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.loop.opscheduler.Interval
org.xith3d.utility.camera.flight.CameraFlightRecorder
public class CameraFlightRecorder
Used to record a camera flight. The flight can be replayed with CameraFlight.
CameraFlight| Constructor Summary | |
|---|---|
CameraFlightRecorder(Transformable view,
long resolution)
Creates a new CameraFlightRecorder |
|
| Method Summary | |
|---|---|
void |
onIntervalHit(Interval interval,
long gameTime,
long frameTime,
UpdatingThread.TimingMode timingMode)
This method is executed each time an interval is hit |
void |
startRecord(long startTime,
java.io.File file)
Starts the record. |
void |
startRecord(long startTime,
java.io.File file,
CameraFlight.Format format)
Starts the record. |
void |
startRecord(long startTime,
java.lang.String filename)
Starts the record. |
void |
startRecord(long startTime,
java.lang.String filename,
CameraFlight.Format format)
Starts the record. |
void |
stopRecord()
Stops the recording and closes the file. |
| Methods inherited from class org.xith3d.loop.opscheduler.Interval |
|---|
check, getInterval, getName, isAlive, kill, onIntervalHit, onIntervalStarted, revive, setInterval, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CameraFlightRecorder(Transformable view,
long resolution)
| Method Detail |
|---|
public void onIntervalHit(Interval interval,
long gameTime,
long frameTime,
UpdatingThread.TimingMode timingMode)
onIntervalHit in interface IntervalListenerinterval - the hit IntervalgameTime - the current gameTimeframeTime - the time needed to render the last frame
public void startRecord(long startTime,
java.io.File file,
CameraFlight.Format format)
startTime - the current gameTimefile - the file where the flight is to be savedformat - the file's format
public void startRecord(long startTime,
java.lang.String filename,
CameraFlight.Format format)
startTime - the current gameTimefilename - the filename where the flight is to be savedformat - the file's format
public void startRecord(long startTime,
java.io.File file)
startTime - the current gameTimefile - the file where the flight is to be saved
public void startRecord(long startTime,
java.lang.String filename)
startTime - the current gameTimefilename - the filename where the flight is to be savedpublic void stopRecord()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||