WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
InputBinding Struct Reference

#include <InputAction.h>

Public Attributes

ViewportAction action = ViewportAction::Orbit
 
TriggerType trigger = TriggerType::MouseDrag
 
ImGuiMouseButton mouseButton = ImGuiMouseButton_Left
 Mouse button for MouseDrag trigger.
 
ImGuiKey key = ImGuiKey_None
 Key for KeyHold / KeyPress triggers.
 
float scaleX = 1.0f
 Scale applied to mouse delta X (MouseDrag) or wheel value (MouseScroll).
 
float scaleY = 1.0f
 Scale applied to mouse delta Y (MouseDrag). Unused for 1D triggers.
 
float keyDelta = 0.0f
 Fixed delta per frame for KeyHold bindings.
 
float shiftScale = 0.1f
 Multiplier applied when Shift is held (1.0 = Shift has no effect).
 

Detailed Description

Definition at line 43 of file InputAction.h.

Member Data Documentation

◆ action

ViewportAction InputBinding::action = ViewportAction::Orbit

Definition at line 45 of file InputAction.h.

◆ key

ImGuiKey InputBinding::key = ImGuiKey_None

Key for KeyHold / KeyPress triggers.

Definition at line 52 of file InputAction.h.

◆ keyDelta

float InputBinding::keyDelta = 0.0f

Fixed delta per frame for KeyHold bindings.

Definition at line 61 of file InputAction.h.

◆ mouseButton

ImGuiMouseButton InputBinding::mouseButton = ImGuiMouseButton_Left

Mouse button for MouseDrag trigger.

Definition at line 49 of file InputAction.h.

◆ scaleX

float InputBinding::scaleX = 1.0f

Scale applied to mouse delta X (MouseDrag) or wheel value (MouseScroll).

Definition at line 55 of file InputAction.h.

◆ scaleY

float InputBinding::scaleY = 1.0f

Scale applied to mouse delta Y (MouseDrag). Unused for 1D triggers.

Definition at line 58 of file InputAction.h.

◆ shiftScale

float InputBinding::shiftScale = 0.1f

Multiplier applied when Shift is held (1.0 = Shift has no effect).

Definition at line 64 of file InputAction.h.

◆ trigger

TriggerType InputBinding::trigger = TriggerType::MouseDrag

Definition at line 46 of file InputAction.h.


The documentation for this struct was generated from the following file: