DOMDocumentContextType

From Virtual World Web Wiki
Jump to: navigation, search

Inidcates the type of a DOMDocument. Documents nodes represent storage / serialization boundaries and map to important server runtime objects. A complete instance DOM tree is made up of several documents that represent things like participants, the main scene, layers, etc.

Remarks [edit]

Enum Values

Unknown = 0
A newly constructed document may have no type yet.
SceneInstance = 1
Represents the root document for an instance of a scene hosted on an instance host. This document's Tag property will point to the server Instance object hosting this document.
Persona = 2
Represents a connected user participating in the scene. This document provides a container for the user's avatar (DOMController) and can be used to save / restore an avatar appearance.
Scene = 3
Represents the scene. This document is the container for Layer documents that together make up the contents of the scene. Ad-hoc objects instantiated by scripts are also created here.
Standalone = 4
Represents a view created by a Layer 2 component (a mini-dom).
Participants = 5
This document type is a container for Persona documents.
Layer = 7
Layer documents are children of the main Scene document. They are stored as ObjectTypes and are attached to scenes via the Layer System. They are the main scene object containers and are points of control for editing permissions and provide bounded-editing functionality and can be attached to multiple scenes enabling shared scenery.
TypeEdit = 8
Represents an ObjectType editing session.
PlaceHolder0 = 9
PlaceHolder1 = 10