The camera object

Through this object you can control the camera within your scene.

The base object of a camera allows you to override the position and orientation of the camera, even when animations are playing. The viewer will compute the offset defined by the difference in the position the animation wants for the camera with the position you specified. It will then add this delta to the animation as time progresses. The same is done for the orientation.


Properties, Events and Methods

Name Type Description
clearOffsets MethodClears the internal offsets due to setting the position of the camera.
void clearOffsets(time as float)
accelerationTime(Float) PropertyTotal acceleration time [sec]
base PropertyReturns an instance of the base object representing the position of the camera.
focalLength(Float) PropertyThe focal length of the camera
handling PropertyThe set of handling modes that are allowed on the camera
initialMoveSpeed (float) PropertyStarting speed of the camera in game mode.
moveSpeed (float) PropertyThe final speed of the camera in game mode.
navigationMode PropertyThe current camera navigation mode
type(Integer) PropertyReturns SQ_CAMERA (2)

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.