GM_3DUtilGet3DCameraPosition Method |
Retrieves the position of the camera in the current 3D view
Namespace:
GlobalMapper.GM3D
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.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
)
Public Shared Function Get3DCameraPosition (
<OutAttribute> ByRef aX As Double,
<OutAttribute> ByRef aY As Double,
<OutAttribute> ByRef aElev As Single,
<OutAttribute> ByRef aHeading As Double,
<OutAttribute> ByRef aPitch As Double,
<OutAttribute> ByRef aBank As Double
) As GM_Error_t32
public:
static GM_Error_t32 Get3DCameraPosition(
[OutAttribute] double% aX,
[OutAttribute] double% aY,
[OutAttribute] float% aElev,
[OutAttribute] double% aHeading,
[OutAttribute] double% aPitch,
[OutAttribute] 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