nw::demo::CameraController::Register Member Function
void Register(
nw::gfx::Camera * camera,
unsigned int cameraIndex = 0
);
| 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. |
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