nullarbor.camera
Class Camera

public class Camera
Constructor Detail

Camera

public Camera(nullarbor.camera.CameraPath eye,
              nullarbor.camera.CameraPath target,
              long length)
Creates a camera shot which moves along one path, targetting another path
Parameters:
eye - the path along which the camera moves
target - the path at which the camera points
length - the length of this camera shot in arbitrary units time

Method Detail

getCameraTransform

public javax.media.j3d.Transform3D getCameraTransform(long time)
Gets a transform that represents the camera view at a given time
Parameters:
time -
Returns:
Transform3D
Throws:
TimeOutOfBoundsException - if the specified time is outside the allowed range