## class OrientedCamera

**Defined in:**

`C4Cameras.h`

`OrientedCamera`

class represents an oriented camera node in a world.
Definition

`class OrientedCamera : public FrustumCamera`

Member Functions

`OrientedCamera::GetCameraAzimuth` |
Returns the current azimuth angle for an oriented camera. |

`OrientedCamera::SetCameraAzimuth` |
Sets the current azimuth angle for an oriented camera. |

`OrientedCamera::GetCameraAltitude` |
Returns the current altitude angle for an oriented camera. |

`OrientedCamera::SetCameraAltitude` |
Sets the current altitude angle for an oriented camera. |

Constructor

`OrientedCamera(float projection, float aspect);`

Parameters

`projection` |
The distance to the projection plane. This determines the field of view. |

`aspect` |
The aspect ratio of the projection. This is the ratio between the width and height of the viewport. |

Description

An 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.

Base Classes

`FrustumCamera` |
An oriented camera is a special type of frustum camera. |