Camera
Public / Methods
MatrixViewLocal
Creates a view matrix without translation components for the current camera settings.
PanoramaRotate
Rotates the camera for taking the next screenshot in a series of panorama screenshots.
- See also
Update
2 overloads
Updates the given Viewport object using values from the current state of this camera.
Updates the given CameraInfo object using values from the current state of this camera.
Public / Attributes
FovY
Vertical field of view, in degrees.
The default value is 50° (conforms to a horizontal field of view of ~80°, for an aspect ratio of 16:9).
Zoom
The zoom-factor of the camera.
The current field of view of the camera can be approximated as follows:
currentFovX := FovX / Zoom currentFovY := FovY / Zoom
To get accurate values that correspond to MatrixPerspective, use Viewport.AdjustFieldOfView.