IInteractionMapping

From Virtual World Web Wiki
Jump to: navigation, search

Represents an interaction mapping registered on an IViewInfo. An interaction mapping connects an IViewAbility to a set of DOM nodes via a CSS-like Selector making the ability into an interaction that can be "triggered on" the selected objects.

Remarks [edit]

Properties

Guid AbilityID {get;}
The ID of the IViewAbility that can be fired as an interaction
Guid? EntityID {get;}
The entity ID to which the user must belong to use this interaction
InteractionMappingExtended Extended {get;}
The Javascript wrapper for this object
CSSSelector Selector {get;}
The selector that selects DOM objects in the room that can be interacted with
string SelectorString {get;}
The Selector as a string

Events

OnInteraction(EventHandler<OnInteractionEventArgs>)
Fires when a user interacts with a selected object "using" this ability