nw::gfx::Camera::SetFrustum Member Function
void SetFrustum(
f32 left,
f32 right,
f32 bottom,
f32 top,
f32 nearClip,
f32 farClip
);
| Name | Description | |
|---|---|---|
| in | left | X-coordinate of the left edge of the viewing frustum at the near clipping plane. |
| in | right | X-coordinate of the right edge of the viewing frustum at the near clipping plane. |
| in | bottom | Y-coordinate of the bottom edge of the viewing frustum at the near clipping plane. |
| in | top | Y-coordinate of the top edge of the viewing frustum at the near clipping plane. |
| in | nearClip | Distance to the near clipping plane. |
| in | farClip | Distance to the far clipping plane. |
Sets 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.
CONFIDENTIAL