nw::gfx::Camera::SetViewRotate Member Function

Syntax

void SetViewRotate(
     f32 x,
     f32 y,
     f32 z
);

Arguments

Name Description
in x The angle of rotation around the X axis. In units of radians.
in y The angle of rotation around the Y axis. In units of radians.
in z The angle of rotation around the Z axis. In units of radians.

Return Values

None.

Description

Sets the rotation angle of the configured view updater.

This is a utility function designed to make it easy to set the parameters. Note that the program will halt if the configured view updater is not for the Rotate camera.


CONFIDENTIAL