Plugin FAQ
From World Wind Wiki
(Difference between revisions)
Revision as of 13:38, 18 June 2005 (edit) Mashiharu (Talk | contribs) ← Previous diff |
Revision as of 13:49, 18 June 2005 (edit) (undo) Mashiharu (Talk | contribs) m (→How do I detect what directory my plugin was loaded from) Next diff → |
||
Line 10: | Line 10: | ||
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. | 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 | ||
[[Category:Dev]] | [[Category:Dev]] | ||
[[Category:Plugins]] | [[Category:Plugins]] | ||
- | [[Category:Scripting]] |
Revision as of 13:49, 18 June 2005
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
Categories: Dev | Plugins