
Although the camera is a node, this is purely for convenience. You do not have to place the camera node in your scene graph. You may, however, tell your scene (vtScene) which camera to use. The scene produces a default camera which is used unless you tell it otherwise.
Public Member Functions | |
| void | SetHither (float f) |
| float | GetHither () const |
| void | SetYon (float f) |
| float | GetYon () const |
| void | SetFOV (float f) |
| float | GetFOV () const |
| float | GetVertFOV () const |
| void | SetOrtho (bool bOrtho) |
| bool | IsOrtho () const |
| void | SetWidth (float f) |
| float | GetWidth () const |
| void | ZoomToSphere (const FSphere &sphere, float fPitch=0.0f) |
|
|
Return the camera's horizontal field of view (FOV) in radians. |
|
|
Get the hither (near) clipping plane distance. |
|
|
Return the camera's vertical field of view (FOV) in radians. |
|
|
Get the view width of an orthographic camera. |
|
|
Get the yon (far) clipping plane distance. |
|
|
Return true if the camera is orthographic. |
|
|
Set the camera's horizontal field of view (FOV) in radians. |
|
|
Set the hither (near) clipping plane distance. |
|
|
Set this camera to use an orthographic view. An orthographic view has no FOV angle, so Set/GetFOV have no affect. Instead, use Get/SetWidth to control the width of the orthogonal view. |
|
|
Set the view width of an orthographic camera. |
|
|
Set the yon (far) clipping plane distance. |
|
||||||||||||
|
Zoom (move) the camera to a sphere, generally the bounding sphere of something you want to look at. The camera will be pointing directly down the -Z axis at the center of the sphere.
|
1.4.5