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


IGlobeDisplayRendering.GetSunColor Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeDisplayRendering.GetSunColor Method

Gets the sun RGB color.

[Visual Basic .NET]
Public Sub GetSunColor ( _
    ByRef pSunRed As Single&, _
    ByRef pSunGreen As Single&, _
    ByRef pSunBlue As Single& _
)
[C#]
public void GetSunColor (
    ref Single& pSunRed,
    ref Single& pSunGreen,
    ref Single& pSunBlue
);
[C++]
HRESULT GetSunColor(
  System.Single* pSunRed,
  System.Single* pSunGreen,
  System.Single* pSunBlue
);
[C++]

Parameters pSunRed [out]
pSunRed is a parameter of type single* pSunGreen [out]
pSunGreen is a parameter of type single* pSunBlue [out]
pSunBlue is a parameter of type single*

Product Availability

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

See Also

IGlobeDisplayRendering Interface

.NET Samples

Effects in the GlobeControl (Code Files: Effects)