ViewExtended

From Virtual World Web Wiki
Jump to: navigation, search

Represents a View which hosts live DOM

  • This is a JavaScript visible object

Remarks [edit]

Properties

long ViewID {get;}

Events

OnEnter(ParticipantExtended who)
Parameters:
who : The participant who is joining the view
Fired when a participant is added to the view
OnInteraction(ParticipantExtended who, DOMObjectExtended target, Guid abilityID, object value)
Parameters:
who : The participant firing the ability
target : The DOM object on which the interaction is firing
abilityID : The ID of the ability being fired
value : The value passed with the firing of the ability
Fired when a participant executes an interaction.
OnLeave(ParticipantExtended who)
Parameters:
who : The participant who is leaving the view
Fired when a participant is removed from the view

Methods

ViewAbilityExtended AddAbility(string identifier, string initialMetadata, float cooldown = 0.0, Guid? entityID = NULL)
InteractionMappingExtended AddInteractionMapping(string selector, string abilityID, Guid? entityID = NULL)
void Release()