World Scripting Reference
From Virtual World Web Wiki
Revision as of 16:09, 30 September 2016 by Spark5 (Talk | contribs) (Created page with " ==Global Objects== These objects are created by the core, and are always available to server scripts. An instance of each can be accessed at the global scope. For example, a...")
Global Objects
These objects are created by the core, and are always available to server scripts. An instance of each can be accessed at the global scope. For example, a script can access DOM.Self
to get a reference to the DOMScript node on which the script is running.
Name | C# Type | Description |
---|---|---|
DOM | DOMFunctions | Main entry point to the Document Object Model (DOM). The properties Self , and Document , as well as the FindNode and GetNodesByName methods are especially useful
|
Instance | InstanceExtended | Represents the instance (or View) in which your script is running. Has shortcuts to key DOM nodes (like the instance root and scene root) as well as methods for creating custom shared views and accessing the participants collection |
System | SystemFunctions | A few methods for inter-script messaging, as well as helper functions for locating things in the DOM |