|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplayRendering3 Interface > IGlobeDisplayRendering3.GetSunColor Method (ArcObjects .NET 10.4 SDK) | 
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