Skip to main content

Class: MouseTriggerBinding

Defined in: input/mouse/bindings/mouse-trigger-binding.ts:18

Mouse trigger input binding.

Implements​

Constructors​

Constructor​

new MouseTriggerBinding(action, mouseButton, moment): MouseTriggerBinding

Defined in: input/mouse/bindings/mouse-trigger-binding.ts:35

Constructs a new MouseTriggerBinding.

Parameters​

action​

TriggerAction

The action associated with this binding.

mouseButton​

MouseButton

The mouse button associated with this binding.

moment​

ButtonMoment

The button moment associated with this binding.

Returns​

MouseTriggerBinding

Properties​

action​

readonly action: TriggerAction

Defined in: input/mouse/bindings/mouse-trigger-binding.ts:22

The action associated with this binding.

Implementation of​

InputBinding.action


displayText​

readonly displayText: string

Defined in: input/mouse/bindings/mouse-trigger-binding.ts:28

A human-readable description of this binding.

Implementation of​

InputBinding.displayText


moment​

readonly moment: ButtonMoment

Defined in: input/mouse/bindings/mouse-trigger-binding.ts:26

The button moment associated with this binding.

Implementation of​

MouseTriggerBindingArgs.moment


mouseButton​

readonly mouseButton: MouseButton

Defined in: input/mouse/bindings/mouse-trigger-binding.ts:24

The mouse button associated with this binding.

Implementation of​

MouseTriggerBindingArgs.mouseButton