Difference between revisions of "DOMPhysicsExtended"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMPhysicsExtended class)
(Documentation for the DOMPhysicsExtended class)
Line 7: Line 7:
  
 
===Properties===
 
===Properties===
 +
:{{CSharp|DOMPhysicsCommands Command {get; set;} // Via attribution on DOMPhysics }}
 +
::
 +
::The type of physics operation requested.
 +
 
:{{CSharp|bool Completed {get; set;} // Via attribution on DOMPhysics }}
 
:{{CSharp|bool Completed {get; set;} // Via attribution on DOMPhysics }}
 
::
 
::

Revision as of 12:40, 6 September 2017

Represents a DOMPhysics in JavaScript

Remarks [edit]

Properties

DOMPhysicsCommands Command {get; set;} // Via attribution on DOMPhysics
The type of physics operation requested.
bool Completed {get; set;} // Via attribution on DOMPhysics
True if the operation has been completed

Events

OnComplete(DOMPhysicsExtended obj)
Parameters:
obj : This object
Fires when the physics host says the physics operation represented by this object has been completed.

Methods

void Start()
Asks the physics host to start carrying out the physics operation represented by this object.
void Stop()
Asks the physics host to stop carrying out the physics operation represented by this object.