GM_3DUtilGet3DCameraPosition Method |
Retrieves the position of the camera in the current 3D view
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 Get3DCameraPosition(
out double aX,
out double aY,
out float aElev,
out double aHeading,
out double aPitch,
out double aBank
)
Parameters
- aX
- Type: SystemDouble
OUT: X coordinate for camera in current view projection - aY
- Type: SystemDouble
OUT: Y coordinate for camera in current view projection - aElev
- Type: SystemSingle
OUT: Elevation in meters for camera - aHeading
- Type: SystemDouble
OUT: Heading in degrees from North (0) - aPitch
- Type: SystemDouble
OUT: Pitch in degrees (+ is up, - is down) - aBank
- Type: SystemDouble
OUT: not currently used
Return Value
Type:
GM_Error_t32A GM Error Code
See Also