nw::gfx::Camera::GetPerspective Member Function
void GetPerspective(
f32 * fovy,
f32 * aspectRatio,
f32 * nearClip,
f32 * farClip
) const;
| Name | Description | |
|---|---|---|
| in | fovy | Pointer storing the view angle (in radians) in the vertical direction. |
| in | aspectRatio | Pointer for storing the aspect ratio (width/height) of the view. |
| in | nearClip | The pointer for storing the distance to the near clipping plane. |
| in | farClip | The pointer for storing the distance to the far clipping plane. |
Gets the projection updater parameters for the configured Perspective.
This is a utility function designed to make it easy to obtain the parameters. Note that the program will halt if the configured projection app data was not for Perspective. If NULL is set for an argument that parameter will not be obtained.
CONFIDENTIAL