Difference between revisions of "DOMVolumeExtended"
From Virtual World Web Wiki
(Documentation for the DOMVolumeExtended class) |
(Documentation for the DOMVolumeExtended class) |
||
Line 14: | Line 14: | ||
:{{CSharp|OnEnter(who, source)}} | :{{CSharp|OnEnter(who, source)}} | ||
::Parameters: | ::Parameters: | ||
− | :::{{CSharp| | + | :::{{CSharp|ParticipantExtended who}} : The participant entering the volume |
:::{{CSharp|DOMObjectExtended source}} : The volume being entered | :::{{CSharp|DOMObjectExtended source}} : The volume being entered | ||
:: | :: | ||
Line 21: | Line 21: | ||
:{{CSharp|OnLeave(who, source)}} | :{{CSharp|OnLeave(who, source)}} | ||
::Parameters: | ::Parameters: | ||
− | :::{{CSharp| | + | :::{{CSharp|ParticipantExtended who}} : The participant leaving the volume |
:::{{CSharp|DOMObjectExtended source}} : The volume being left | :::{{CSharp|DOMObjectExtended source}} : The volume being left | ||
:: | :: |
Revision as of 14:58, 22 February 2017
Represents a DOMVolume in JavaScript
- Inherits class: DOMTransformExtended
- This is a JavaScript visible object
Remarks [edit]
Properties
- float InteractionDistance {get; set;} // Via attribution on DOMVolume
- Point3D Size {get; set;} // Via attribution on DOMVolume
Events
- OnEnter(who, source)
- Parameters:
- ParticipantExtended 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.
- Parameters:
- OnLeave(who, source)
- Parameters:
- ParticipantExtended 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.
- Parameters: