Difference between revisions of "DOMVolumeExtended"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMVolumeExtended class)
(Documentation for the DOMVolumeExtended class)
Line 7: Line 7:
  
 
===Properties===
 
===Properties===
:{{CSharp|float InteractionDistance {get; set;} // Via attribution on DOMVolume }}
 
::
 
::The maximum distance, beyond which a user cannot mousover or click on the volume
 
 
 
:{{CSharp|Point3D Size {get; set;} // Via attribution on DOMVolume }}
 
:{{CSharp|Point3D Size {get; set;} // Via attribution on DOMVolume }}
 
::
 
::

Revision as of 12:32, 23 May 2018

Represents a DOMVolume in JavaScript

Remarks [edit]

Properties

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.