DOMGeometryExtended

From Virtual World Web Wiki
Jump to: navigation, search

Represents a DOMGeometry in JavaScript

Remarks [edit]

Properties

bool Clickable {get; set;} // Via attribution on DOMGeometry
Marks this object as clickable, mainly used node types derived from DOMRenderable or DOMVolume
ResourceValue Cursor {get; set;} // Via attribution on DOMGeometry
The ResourceValue for the hover-over mouse cursor to use
float CursorDistance {get; set;} // Via attribution on DOMGeometry
The distance in units before which the object can be hovered over with the mouse causing cursor change and/or tooltip activation (if configured)
bool CursorMiddleHotspot {get; set;} // Via attribution on DOMGeometry
True if the center of the cursor image should be used as the hotspot... oh dear why is this not an Point2D offset...
bool Grabbable {get; set;} // Via attribution on DOMGeometry
Marks this object as grabbable, mainly used on node types derived from DOMRenderable
float InteractionDistance {get; set;} // Via attribution on DOMGeometry
The distance in units at which this object can be interacted with (Interactions fired, clicked, selected, etc)
bool Selectable {get; set;} // Via attribution on DOMGeometry
Marks this object as Selectable, mainly used node types derived from DOMRenderable or DOMVolume
bool Targetable {get; set;} // Via attribution on DOMGeometry
Marks this object as targetable, mainly used node types derived from DOMRenderable or DOMVolume
string Tooltip {get; set;} // Via attribution on DOMGeometry
The text for a hover-over tool-tip
ResourceValue TooltipIcon {get; set;} // Via attribution on DOMGeometry
The ResourceValue for a hover-over tool-tip's icon
string TooltipTitle {get; set;} // Via attribution on DOMGeometry
The text for a hover-over tool-tip's title

Events

OnClick(ParticipantExtended who, DOMObjectExtended source)
Parameters:
who : The participant who's clicking
source : The object being clicked on
Fires when a user clicks an object in world. Who is the Participant doing the clicking.
OnGrab(ParticipantExtended who, DOMObjectExtended source)
Parameters:
who : The participant who's grabbing
source : The object being grabbed
Fires when a user grabs an object in world. Who is the Participant doing the grabbing.
OnRightClick(ParticipantExtended who, DOMObjectExtended source)
Parameters:
who : The participant who's right-clicking
source : The object being right-clicked on
Fires when a user right-clicks an object in world. Who is the Participant doing the right-clicking.
OnUngrab(ParticipantExtended who, DOMObjectExtended source)
Parameters:
who : The participant who's releasing the object
source : The object being released
Fires when a user releases a grabbed object in world. Who is the Participant doing the release.