ControlsFactory.get() method
Factory method to create control. The controls returned depend on the type of controls you want to create. Currently supports the following types: "platformer", "thirdperson", "firstperson", "debugorbit", "fly".
Signature:
get(opts: ControlsFactoryOpts): any;
Parameters
Parameter | Type | Description |
---|---|---|
opts | ControlsFactoryOpts |
Returns:
any