Click or drag to resize

GM_3DPositionCamera

Sets the position of the camera in the current 3D view.

Syntax
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_3DPositionCamera

(

double    aX,         // IN: X coordinate for camera in current view projection

double    aY,         // IN: Y coordinate for camera in current view projection

float    aElev,        // IN: Elevation in meters for camera

double    aHeading,    // IN: Heading in degrees from North (0)

double    aPitch,        // IN: Pitch in degrees (+ is up, - is down)

double    aBank        // IN: not currently used

);
Remarks

You can get the current camera position using the GM_3DGetCameraPosition function.