Class: MouseHoldBinding
Defined in: input/mouse/bindings/mouse-hold-binding.ts:12
Mouse hold input binding.
Implements
InputBinding<HoldAction>MouseHoldBindingArgs
Constructors
Constructor
new MouseHoldBinding(
action,mouseButton):MouseHoldBinding
Defined in: input/mouse/bindings/mouse-hold-binding.ts:26
Constructs a new MouseHoldBinding.
Parameters
action
The action associated with this binding.
mouseButton
The mouse button associated with this binding.
Returns
MouseHoldBinding
Properties
action
readonlyaction:HoldAction
Defined in: input/mouse/bindings/mouse-hold-binding.ts:16
The action associated with this binding.
Implementation of
InputBinding.action
displayText
readonlydisplayText:string
Defined in: input/mouse/bindings/mouse-hold-binding.ts:20
A human-readable description of this binding.
Implementation of
InputBinding.displayText
mouseButton
readonlymouseButton:MouseButton
Defined in: input/mouse/bindings/mouse-hold-binding.ts:18
The mouse button associated with this binding.