nw::gfx::Camera::SetUpwardVector Member Function

Syntax

void SetUpwardVector(
     const nw::math::VEC3 & upwardVector
);

Arguments

Name Description
in upwardVector The up vector.

Return Values

None.

Description

Sets the up vector 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 LookAt camera.


CONFIDENTIAL