Difference between revisions of "DOMVolumeExtended"
From Virtual World Web Wiki
(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| | + | :::{{CSharp|who}} : The participant entering the volume |
− | :::{{CSharp| | + | :::{{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| | + | :::{{CSharp|who}} : The participant leaving the volume |
− | :::{{CSharp| | + | :::{{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
- 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(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.
- Parameters:
- 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.
- Parameters: