Difference between revisions of "DOMVolumeExtended"
From Virtual World Web Wiki
(Documentation for the DOMVolumeExtended class) |
(Documentation for the DOMVolumeExtended class) |
||
Line 26: | Line 26: | ||
::Fires when a user leaves this DOMVolume in world. Who is the Participant doing the entering. | ::Fires when a user leaves this DOMVolume in world. Who is the Participant doing the entering. | ||
− | :{{CSharp|OnObjectEnter( | + | :{{CSharp|OnObjectEnter(DOMObjectExtended what, DOMObjectExtended source)}} |
::Parameters: | ::Parameters: | ||
:::{{CSharp|what}} : The [[DOMCollider]] doing the entering. Or if the collider was automatically added and not represented in the DOM, the object to which the collider is attached. | :::{{CSharp|what}} : The [[DOMCollider]] doing the entering. Or if the collider was automatically added and not represented in the DOM, the object to which the collider is attached. | ||
Line 33: | Line 33: | ||
::Fires when a collider (that is not another participant, see OnEnter instead) enters this DOMVolume in world. 'What' is the object or [[DOMCollider]] doing the entering. | ::Fires when a collider (that is not another participant, see OnEnter instead) enters this DOMVolume in world. 'What' is the object or [[DOMCollider]] doing the entering. | ||
− | :{{CSharp|OnObjectLeave( | + | :{{CSharp|OnObjectLeave(DOMObjectExtended what, DOMObjectExtended source)}} |
::Parameters: | ::Parameters: | ||
:::{{CSharp|what}} : The [[DOMCollider]] doing the leaving. Or if the collider was automatically added and not represented in the DOM, the object to which the collider is attached. | :::{{CSharp|what}} : The [[DOMCollider]] doing the leaving. Or if the collider was automatically added and not represented in the DOM, the object to which the collider is attached. |
Latest revision as of 12:10, 30 April 2019
Represents a DOMVolume in JavaScript
- Inherits class: DOMGeometryExtended
- This is a JavaScript visible object
Remarks [edit]
Properties
- Point3D Size {get; set;} // Via attribution on DOMVolume
- The size of the volume box
Events
- OnEnter(ParticipantExtended who, DOMObjectExtended source)
- Parameters:
- who : The participant entering the volume
- source : The volume being entered
- Fires when a user enters this 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 this DOMVolume in world. Who is the Participant doing the entering.
- Parameters:
- OnObjectEnter(DOMObjectExtended what, DOMObjectExtended source)
- Parameters:
- what : The DOMCollider doing the entering. Or if the collider was automatically added and not represented in the DOM, the object to which the collider is attached.
- source : The volume being entered
- Fires when a collider (that is not another participant, see OnEnter instead) enters this DOMVolume in world. 'What' is the object or DOMCollider doing the entering.
- Parameters:
- OnObjectLeave(DOMObjectExtended what, DOMObjectExtended source)
- Parameters:
- what : The DOMCollider doing the leaving. Or if the collider was automatically added and not represented in the DOM, the object to which the collider is attached.
- source : The volume being left
- Fires when a collider (that is not another participant, see OnLeave instead) leaves this DOMVolume in world. 'What' is the object or DOMCollider doing the leaving.
- Parameters: