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