CLASSES
TagsA - Z

WebVRController

Description

class WebVRController extends PoseEnabledController

Constructor

new WebVRController(vrGamepad)

Parameters

Name Type Description
vrGamepad any

Members

onTriggerStateChangedObservable : Observable<ExtendedGamepadButton>

onMainButtonStateChangedObservable : Observable<ExtendedGamepadButton>

onSecondaryButtonStateChangedObservable : Observable<ExtendedGamepadButton>

onPadStateChangedObservable : Observable<ExtendedGamepadButton>

onPadValuesChangedObservable : Observable<StickValues>

pad : StickValues

hand : string

any : ()

abstract : ()

any : ()

Methods

onButtonStateChange(callback) → void

Parameters

Name Type Description
callback (controlledIndex: number, buttonIndex: number, state: ExtendedGamepadButton) => void

update() → void