PerspectiveCameraContext Struct
Immutable projection context for perspective-camera dependent operations. More...
Declaration
Public Member Attributes Index
| const float | aspectRatio_ = 1.0f |
|
The aspect ratio of the camera (width/height). More... | |
| const float | zNear_ = 0.1f |
|
The near clipping plane distance. More... | |
| const float | zFar_ = 1000.0f |
|
The far clipping plane distance. More... | |
| const float | fovY_ = radians(90) |
|
The vertical field of view in radians. More... | |
Description
Immutable projection context for perspective-camera dependent operations.
Definition at line 21 of file PerspectiveCameraContext.ixx.
Public Member Attributes
aspectRatio_
|
The aspect ratio of the camera (width/height).
Defaults to 1.0.
Definition at line 28 of file PerspectiveCameraContext.ixx.
fovY_
|
The vertical field of view in radians.
Defaults to 90 degrees (converted to radians).
Definition at line 49 of file PerspectiveCameraContext.ixx.
zFar_
|
The far clipping plane distance.
Defaults to 1000.0.
Definition at line 42 of file PerspectiveCameraContext.ixx.
zNear_
|
The near clipping plane distance.
Defaults to 0.1.
Definition at line 35 of file PerspectiveCameraContext.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.