|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.engine.camera.recorder.CameraFlight
public class CameraFlight
This class represents a camera flight across the scene, which can be used for scripting a camera movement.
Constructor Summary | |
---|---|
CameraFlight(int framesPerSecond)
Creates a new camera flight object with the specified frames per second for that flight. |
Method Summary | |
---|---|
void |
addCheckPoint(Orientation check)
Adds a checkpoint to the camera flight. |
java.util.LinkedList<Orientation> |
getCheckPoints()
Returns the list of sequencially ordered checkpoints of the camera flight. |
long |
getDuration()
Returns the time duration of the camera flight meassured in miliseconds. |
int |
getFramesPerSecond()
Returns the frames (checkpoints) per seconds, i.e. how many checkpoints have been created for one second of the camera flight. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CameraFlight(int framesPerSecond)
framesPerSecond
- number of frames (checkpoints) per secondMethod Detail |
---|
public void addCheckPoint(Orientation check)
check
- checkpoint for the camera flightpublic java.util.LinkedList<Orientation> getCheckPoints()
public int getFramesPerSecond()
public long getDuration()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |