Difference between revisions of "DOMPhysicsExtended"
From Virtual World Web Wiki
(Documentation for the DOMPhysicsExtended class) |
(Documentation for the DOMPhysicsExtended class) |
||
Line 7: | Line 7: | ||
===Properties=== | ===Properties=== | ||
− | |||
− | |||
− | |||
− | |||
:{{CSharp|bool Completed {get; set;} // Via attribution on DOMPhysics }} | :{{CSharp|bool Completed {get; set;} // Via attribution on DOMPhysics }} | ||
:: | :: | ||
Line 16: | Line 12: | ||
===Events=== | ===Events=== | ||
− | :{{CSharp|OnComplete(DOMPhysicsExtended obj)}} | + | :{{CSharp|OnComplete(DOMPhysicsExtended obj, bool succeeded)}} |
::Parameters: | ::Parameters: | ||
:::{{CSharp|obj}} : This object | :::{{CSharp|obj}} : This object | ||
+ | :::{{CSharp|succeeded}} : True if the operation was successfull | ||
:: | :: | ||
::Fires when the physics host says the physics operation represented by this object has been completed. | ::Fires when the physics host says the physics operation represented by this object has been completed. | ||
Line 27: | Line 24: | ||
::Asks the physics host to start carrying out the physics operation represented by this object. | ::Asks the physics host to start carrying out the physics operation represented by this object. | ||
− | :{{CSharp|void Stop()}} | + | :{{CSharp|void Stop(bool destroy {{=}} true)}} |
:: | :: | ||
::Asks the physics host to stop carrying out the physics operation represented by this object. | ::Asks the physics host to stop carrying out the physics operation represented by this object. | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 21:29, 11 January 2018
Represents a DOMPhysics in JavaScript
- Inherits class: DOMObjectExtended
- This is a JavaScript visible object
Remarks [edit]
Properties
- bool Completed {get; set;} // Via attribution on DOMPhysics
- True if the operation has been completed
Events
- OnComplete(DOMPhysicsExtended obj, bool succeeded)
- Parameters:
- obj : This object
- succeeded : True if the operation was successfull
- Fires when the physics host says the physics operation represented by this object has been completed.
- Parameters:
Methods
- void Start()
- Asks the physics host to start carrying out the physics operation represented by this object.
- void Stop(bool destroy = true)
- Asks the physics host to stop carrying out the physics operation represented by this object.