DOMVolumeExtended

From Virtual World Web Wiki
Revision as of 20:14, 8 January 2018 by Spark5 (Talk | contribs) (Documentation for the DOMVolumeExtended class)

Jump to: navigation, search

Represents a DOMVolume in JavaScript

Remarks [edit]

Properties

float InteractionDistance {get; set;} // Via attribution on DOMVolume
The maximum distance, beyond which a user cannot mousover or click on the volume
Point3D Size {get; set;} // Via attribution on DOMVolume
The size of the volume box

Events

OnEnter(ParticipantExtended who, DOMObjectExtended source)
Parameters:
who : The participant entering the volume
source : The volume being entered
Fires when a user enters an DOMVolume in world. Who is the Participant doing the entering.
OnLeave(ParticipantExtended who, DOMObjectExtended source)
Parameters:
who : The participant leaving the volume
source : The volume being left
Fires when a user leaves an DOMVolume in world. Who is the Participant doing the entering.