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(who, source)}}
+
:{{CSharp|OnEnter(ParticipantExtended who, DOMObjectExtended source)}}
 
::Parameters:
 
::Parameters:
:::{{CSharp|ParticipantExtended who}} : The participant entering the volume
+
:::{{CSharp|who}} : The participant entering the volume
:::{{CSharp|DOMObjectExtended source}} : The volume being entered
+
:::{{CSharp|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(who, source)}}
+
:{{CSharp|OnLeave(ParticipantExtended who, DOMObjectExtended source)}}
 
::Parameters:
 
::Parameters:
:::{{CSharp|ParticipantExtended who}} : The participant leaving the volume
+
:::{{CSharp|who}} : The participant leaving the volume
:::{{CSharp|DOMObjectExtended source}} : The volume being left
+
:::{{CSharp|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 15:05, 22 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(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.