Global Mapper SDK
| GM_3DUtil . Get3DCameraPosition Method |
Retrieves the position of the camera in the current 3D view
Namespace:GlobalMapper.3D
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
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:
System
.
Double
OUT: X coordinate for camera in current view projection - aY
-
Type:
System
.
Double
OUT: Y coordinate for camera in current view projection - aElev
-
Type:
System
.
Single
OUT: Elevation in meters for camera - aHeading
-
Type:
System
.
Double
OUT: Heading in degrees from North (0) - aPitch
-
Type:
System
.
Double
OUT: Pitch in degrees (+ is up, - is down) - aBank
-
Type:
System
.
Double
OUT: not currently used
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.