nw::gfx::Camera::SetTargetPosition Member Function

Syntax

void SetTargetPosition(
     const nw::math::VEC3 & targetPosition
);

Arguments

Name Description
in targetPosition The target coordinate vector.

Return Values

None.

Description

Sets the target coordinates for 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 either the Aim camera or the LookAt camera.


CONFIDENTIAL