IInstanceContext

From Virtual World Web Wiki
Jump to: navigation, search

Represnets a running instance on an Instance Host

Remarks [edit]

Properties

Guid ChatChannelID {get;}
Gets the local chat channel ID for the instance
IExperienceAggregate Experience {get;}
Experience quality data
DOMView InstanceView {get;}
A reference to the main instance view
IDictionary<string, object> Metadata {get;}
A collection of scene mode metadata
IDictionary<Guid, INeighborInfo> Neighbors {get;}
A map of information about neighboring instances of the same scene type (dimensions)
IParticipant[] Participants {get;}
An array of participants in the instance
DOMParticipantsDocument ParticipantsDocument {get;}
A reference to the instance's participants container document
IRuntimeLayer[] RuntimeLayers {get;}
Gets the currently available runtime layers (snapshot)
DOMSceneDocument SceneDocument {get;}
A reference to the instance's scene document

Methods

DOMStartPoint LookupStartPoint(string name, IConnectionIdentity identity = NULL)
Looks up a startpoint in the room, or the default startpoint if the requested one is not available
void ReloadLayer(Guid? layerID)
void WriteDebug(long sourceID, string message)
void WriteError(long sourceID, string message)
void WriteFatal(long sourceID, string message)
void WriteInfo(long sourceID, string message)
void WriteVerbose(long sourceID, string message)
void WriteWarning(long sourceID, string message)