nw::demo::CameraController::Register Member Function

Syntax

void Register(
     nw::gfx::Camera * camera,
     unsigned int cameraIndex = 0
);

Arguments

Name Description
in camera Pointer to the camera being updated by UpdateCamera.
in cameraIndex Index number of the camera. The index must be greater than or equal to 0 and less than maxCameraCount.

Return Values

None.

Description

Register the camera being used to reflect the update camera.

The position and orientation of the camera at time of registration is saved. The camera can be restored to original status by pressing the X Button on the controller.


CONFIDENTIAL