OrientedCameraclass represents an oriented camera node in a world.
class OrientedCamera : public FrustumCamera
||Returns the current azimuth angle for an oriented camera.|
||Sets the current azimuth angle for an oriented camera.|
||Returns the current altitude angle for an oriented camera.|
||Sets the current altitude angle for an oriented camera.|
OrientedCamera(float focal, float aspect);
||The focal length of the perspective projection. This determines the field of view.|
||The aspect ratio of the projection. This is normally the ratio between the height and the width of the viewport.|
DescriptionAn oriented camera is a specialization of the frustum camera that holds two angle values, called the azimuth and altitude angles, describing the camera's orientation in space. The azimuth angle represents the camera's rotation in the horizontal plane, and the altitude angle represents the camera's rotation above the horizontal plane. Both angles are initially zero, and this corresponds to a camera pointed in the positive x direction, parallel to the horizontal plane.
||An oriented camera is a special type of frustum camera.|