Skip to content

Latest commit

 

History

History

GlobeControlEffects

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Effects in the GlobeControl

This sample demonstrates how to manipulate heads-up display (HUD), north arrow, observer location (latitude, longitude, and altitude), enabling, setting sun, and ambient light effects. This sample shows how to do the following:
  • Use the IGlobeViewer interface NorthArrowEnabled and HUDEnabled properties to enable north arrow and heads-up display.
  • Use the IGlobeDisplayRendering interface GetSunColor, SetSunColor, GetSunPosition, and SetSunPosition methods and AmbientLight property to get and set the sun color, sun position, and ambient light.
  • Use the IGlobeCamera.GetObserverLatLonAlt method to get observer latitude, longitude, and altitude.
  • Listen to an AfterDraw event of IGlobeDisplayEvents.
Language:              C#, VB
Subject:               Controls
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

  1. If no default document is loaded, open a globe document.
  2. Select the Enable Sun check box to enable and disable the sun effect and click the Set Sun Color button to set the desired color of the sun.
  3. Select the HUD check boxes to enable and disable the built-in heads-up display; the Alternate HUD area shows how to make a heads-up display.

Screen shot of the HUD options used in this sample.
Screen shot of the HUD options used in this sample.

See Also

GlobeControl class
IGlobeControl interface


Licensing

Development licensing Deployment licensing
Engine Developer Kit Engine: 3D Analyst
ArcGIS Desktop Basic: 3D Analyst
ArcGIS Desktop Standard: 3D Analyst
ArcGIS Desktop Advanced: 3D Analyst