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 13: Line 13:
 
===Events===
 
===Events===
 
:{{CSharp|OnEnter(EventHandler<FlexibleEventArgs>)}}
 
:{{CSharp|OnEnter(EventHandler<FlexibleEventArgs>)}}
::Param 'who' : The participant entering the volume
+
::'''Parameters:'''
::Param 'source' : The volume being entered
+
:::'''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.
 
::Fires when a user enters an DOMVolume in world. Who is the Participant doing the entering.
  
 
:{{CSharp|OnLeave(EventHandler<FlexibleEventArgs>)}}
 
:{{CSharp|OnLeave(EventHandler<FlexibleEventArgs>)}}
::Param 'who' : The participant leaving the volume
+
::'''Parameters:'''
::Param 'source' : The volume being left
+
:::'''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.
 
::Fires when a user leaves an DOMVolume in world. Who is the Participant doing the entering.
  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

Revision as of 16:32, 21 February 2017

Represents a DOMVolume in JavaScript

Remarks [edit]

Properties

float InteractionDistance {get; set;} // Via attribution on DOMVolume
Point3D Size {get; set;} // Via attribution on DOMVolume

Events

OnEnter(EventHandler<FlexibleEventArgs>)
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(EventHandler<FlexibleEventArgs>)
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.