This sample demonstrates manipulation of the globe light source—enabling and disabling the light source, moving it as a response to the mouse position, and changing the sun's ambient light and contrast.
Language: C#, VB
Subject: 3D
Organization: Esri, http://www.esri.com
Date: 10/17/2019
ArcObjects SDK: 10.8
Visual Studio: 2017, 2019
.NET Target Framework: 4.5
Resources
Usage
- Start Visual Studio, open the solution file, and build the project.
- Open ArcGlobe in design mode.
- Click the Customize menu, and click Customize Mode. The Customize dialog box opens.
- Choose the Add-Ins Controls category.
- Drag the Sun Position tool from the command items pane onto a toolbar.
- Run the application and choose the tool.
- Click the mouse to change the sun's position on the globe.
Licensing
| Development licensing |
Deployment licensing |
| ArcGIS Desktop Basic: 3D Analyst |
ArcGIS Desktop Basic: 3D Analyst |
| ArcGIS Desktop Standard: 3D Analyst |
ArcGIS Desktop Standard: 3D Analyst |
| ArcGIS Desktop Advanced: 3D Analyst |
ArcGIS Desktop Advanced: 3D Analyst |