This document is archived and information here might be outdated.  Recommended version.


IGlobeDisplayRendering.GetSunPosition Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeDisplayRendering.GetSunPosition Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGlobeDisplayRendering Interface

.NET Samples

Effects in the GlobeControl (Code Files: Effects)