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 1: Line 1:
Represents a DOMVolume in JavaScript
+
Represents a [[DOMVolume]] in JavaScript
  
*'''Inherits class: [[DOMTransformExtended]]'''
+
*'''Inherits class: [[DOMGeometryExtended]]'''
 
* This is a JavaScript visible object
 
* This is a JavaScript visible object
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMVolumeExtended Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMVolumeExtended Remarks|action=edit}} edit]<nowiki>]</nowiki>===

Revision as of 20:14, 8 January 2018

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.