Class: MouseTriggerBinding
Defined in: input/mouse/bindings/mouse-trigger-binding.ts:18
Mouse trigger input binding.
Implements
InputBinding<TriggerAction>MouseTriggerBindingArgs
Constructors
Constructor
new MouseTriggerBinding(
action,mouseButton,moment):MouseTriggerBinding
Defined in: input/mouse/bindings/mouse-trigger-binding.ts:35
Constructs a new MouseTriggerBinding.
Parameters
action
The action associated with this binding.
mouseButton
The mouse button associated with this binding.
moment
The button moment associated with this binding.
Returns
MouseTriggerBinding
Properties
action
readonlyaction:TriggerAction
Defined in: input/mouse/bindings/mouse-trigger-binding.ts:22
The action associated with this binding.
Implementation of
InputBinding.action
displayText
readonlydisplayText:string
Defined in: input/mouse/bindings/mouse-trigger-binding.ts:28
A human-readable description of this binding.
Implementation of
InputBinding.displayText
moment
readonlymoment:ButtonMoment
Defined in: input/mouse/bindings/mouse-trigger-binding.ts:26
The button moment associated with this binding.
Implementation of
MouseTriggerBindingArgs.moment
mouseButton
readonlymouseButton:MouseButton
Defined in: input/mouse/bindings/mouse-trigger-binding.ts:24
The mouse button associated with this binding.