Physics3DPlugin
Defined in: physics3d/Physics3DPlugin.ts:43
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Physics3DPlugin(
wasmUrl,config?,factory?):Physics3DPlugin
Defined in: physics3d/Physics3DPlugin.ts:50
Parameters
Section titled “Parameters”wasmUrl
Section titled “wasmUrl”string
config?
Section titled “config?”Partial<Physics3DConfig> = {}
factory?
Section titled “factory?”Returns
Section titled “Returns”Physics3DPlugin
Properties
Section titled “Properties”name:
string='physics3d'
Defined in: physics3d/Physics3DPlugin.ts:44
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”build()
Section titled “build()”build(
app):void
Defined in: physics3d/Physics3DPlugin.ts:57
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”cleanup()
Section titled “cleanup()”cleanup():
void
Defined in: physics3d/Physics3DPlugin.ts:102
Tear the world down, so a re-init does not inherit the last one’s bodies.
Returns
Section titled “Returns”void