nw::gfx::Camera::GetFrustum Member Function
void GetFrustum(
f32 * left,
f32 * right,
f32 * bottom,
f32 * top,
f32 * nearClip,
f32 * farClip
) const;
| Name | Description | |
|---|---|---|
| in | left | The pointer to the X coordinate for the left side of the view frustum in the near clipping plane. |
| in | right | The pointer to the X coordinate for the right side of the view frustum in the near clipping plane. |
| in | bottom | The pointer for storing the Y coordinate for the bottom of the view frustum in the near clipping plane. |
| in | top | The pointer for storing the Y coordinate for the top of the view frustum in the near clipping plane. |
| 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 Frustum.
This is a utility function designed to make it easy to obtain the parameters. Note that the program will halt if the configured projection updater is not for Frustum. If NULL is set for an argument that parameter will not be obtained.
CONFIDENTIAL