class
InputActionEvent
Fired every frame an action is active (Started, Performed, or Canceled)
- Module
- Input
- Header
#include "Input/InputActionEvents.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
InputActionEvent(const std::string& actionName, const std::string& contextName, … | InputActionEvent |
Public functions
| Returns | Name | Description |
|---|---|---|
const std::string& | GetActionName | |
const std::string& | GetContextName | |
InputActionPhase | GetPhase | |
float | GetValue | |
Vec2 | GetValue2D | |
Vec3 | GetValue3D | |
std::string | ToString |
Function details
InputActionEvent
C++
InputActionEvent(const std::string& actionName, const std::string& contextName, InputActionPhase phase, float value, Vec2 value2D, Vec3 value3D = Vec3()) : m_actionName(actionName), m_contextName(contextName), m_phase(phase), m_value(value), m_value2D(value2D), m_value3D(value3D)GetActionName
C++
const std::string& GetActionName() constGetContextName
C++
const std::string& GetContextName() constGetPhase
C++
InputActionPhase GetPhase() constGetValue
C++
float GetValue() constGetValue2D
C++
Vec2 GetValue2D() constGetValue3D
C++
Vec3 GetValue3D() constToString
C++
std::string ToString() const overrideGenerated from Input/InputActionEvents.h via input.json · Nov 2, 2026Version 1.0.0