BaseCamera
Classes:
Represents a position, direction and field of view to render a scene from.
A datablock that describes a camera.
Enumerations
CameraMotionMode { Stationary FreeRotate Fly OrbitObject OrbitPoint TrackObject Overhead EditOrbit }
Movement behavior type for Camera.
Variables
int
The ExtendedMove position/rotation index used for camera movements.
float
Global camera movement speed in units/s (typically m/s), with a base value of 40.
Detailed Description
Enumerations
CameraMotionMode
Enumerator
- Stationary
Camera does not rotate or move.
- FreeRotate
Camera may rotate but does not move.
- Fly
Camera may rotate and move freely.
- OrbitObject
Camera orbits about a given object. Damage flash and white out is determined by the object being orbited. See Camera::setOrbitMode() to set the orbit object and other parameters.
- OrbitPoint
Camera orbits about a given point. See Camera::setOrbitMode() to set the orbit point and other parameters.
- TrackObject
Camera always faces a given object. See Camera::setTrackObject() to set the object to track and a distance to remain from the object.
- Overhead
Camera moves in the XY plane.
- EditOrbit
Used by the World Editor to orbit about a point. When first activated, the camera is rotated to face the orbit point rather than move to it.
Movement behavior type for Camera.