Plugin FAQ

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:49, 18 June 2005 (edit)
Mashiharu (Talk | contribs)
m (How do I detect what directory my plugin was loaded from)
← Previous diff
Revision as of 14:36, 18 June 2005 (edit) (undo)
80.202.208.86 (Talk)
(How do I remote control World Wind)
Next diff →
Line 1: Line 1:
 +===Is it possible to run binary plugins===
 +
 +In addition to loading source code plugins World Wind also probes for .dll files inside the '''Plugins''' directory that implement the plugin interface. If found they will be displayed in the [[Plugin Dialog]].
 +
===How do I remote control World Wind=== ===How do I remote control World Wind===

Revision as of 14:36, 18 June 2005

Contents

Is it possible to run binary plugins

In addition to loading source code plugins World Wind also probes for .dll files inside the Plugins directory that implement the plugin interface. If found they will be displayed in the Plugin Dialog.

How do I remote control World Wind

ParentApplication.WorldWindow.GotoLatLonAltitude(50.94299, 6.96291, 10000)

How do I retrieve the current position

ParentApplication.WorldWindow.DrawArgs.WorldCamera.Latitude

How do I detect what directory my plugin was loaded from

The Plugin base class has a property PluginDirectory that contains the path from which the plugin was loaded. This path may be used to find any additional files you may want to load.

this.PluginDirectory
Personal tools