public MultipleGlobeViewers() { globe = ArcGlobe.Globe; globeDisplay = globe.GlobeDisplay; globeCamera = (ESRI.ArcGIS.GlobeCore.IGlobeCamera)globeDisplay.ActiveViewer.Camera; globeDispEvent = (ESRI.ArcGIS.GlobeCore.IGlobeDisplayEvents_Event)globeDisplay; }
public void myAnimationEventHandler(esriAnimationState animState) { globeDispEvent = (IGlobeDisplayEvents_Event)globeDisplay; if (animState == esriAnimationState.esriAnimationStopped) { theCamForm.playButton.Enabled = true; theCamForm.generatePathButton.Enabled = true; theCamForm.stopButton.Enabled = false; } }