|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplayRendering3 Interface > IGlobeDisplayRendering3.GetSunPosition Method (ArcObjects .NET 10.4 SDK) | 
Gets the sun position in lat, lon.
[Visual Basic .NET] Public Sub GetSunPosition ( _ ByRef pLatitude As Double, _ ByRef pLongitude As Double _ )
[C#] public void GetSunPosition ( ref double pLatitude, ref double pLongitude );
[C++]
HRESULT GetSunPosition(
  double* pLatitude,
  double* pLongitude
);
[C++]
Parameters pLatitude [out] pLatitude is a parameter of type double pLongitude [out] pLongitude is a parameter of type double