nw::gfx::RenderContext::SetActiveCamera Member Function

Syntax

void SetActiveCamera(
     int         index
);

Arguments

Name Description
in index Index number of the camera to set.

Return Values

None.

Description

Activates the camera with the specified index.

This is used for calculating lights and environment maps. Settings must be made for each frame because status is reset using ResetState.


CONFIDENTIAL