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

Syntax

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

void SetTargetPosition(
     f32 x,
     f32 y,
     f32 z
);

List of Overloaded Member Functions

SetTargetPosition ( const nw::math::VEC3 & ) Sets the target coordinates for the configured view updater.
SetTargetPosition ( f32, f32, f32 ) Sets the target coordinates for the configured view updater.

Description of SetTargetPosition ( const nw::math::VEC3 & )

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.

Description of SetTargetPosition ( f32, f32, f32 )

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