GenericController

Description

class GenericController extends WebVRController

Constructor

new GenericController(vrGamepad)

Parameters

Name Type Description
vrGamepad any

Members

static MODEL_BASE_URL : string

static MODEL_FILENAME : string

Methods

initControllerMesh(scene, meshLoaded) void

Parameters

Name Type Description
scene Scene
optional meshLoaded mesh AbstractMesh

handleButtonChange(buttonIdx, state, changes) void

Parameters

Name Type Description
buttonIdx number
state ExtendedGamepadButton
changes GamepadButtonChanges