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 8: Line 8:
 
===Properties===
 
===Properties===
 
:{{CSharp|float InteractionDistance {get; set;} // Via attribution on DOMVolume }}
 
:{{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 }}
 +
::
 +
::The size of the volume box
  
 
===Events===
 
===Events===

Revision as of 19:41, 4 April 2017

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.