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


IGlobeDisplayRendering.GetSunColor Method (ArcObjects .NET 10.5 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(
  float* pSunRed,
  float* pSunGreen,
  float* pSunBlue
);
[C++]

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

Product Availability

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

See Also

IGlobeDisplayRendering Interface

.NET Samples

Effects in the GlobeControl (Code Files: Effects)