CAViewer::GetCameraPosition

CAViewer class

Gets the current camera position.

BOOL GetCameraPosition(
  float *xpos,
  float *ypos,
  float *zpos
  );

Parameters

xpos
A pointer to float that receives the X component of the camera position.

ypos
A pointer to float that receives the Y component of the camera position.

zpos
A pointer to float that receives the Z component of the camera position.

Return Value

Returns TRUE if the operation is successful; otherwise, FALSE.

See Also

CAViewer::SetCameraPosition