class
MPlayerInput
- Module
- Game
- Header
#include "Game/MPlayerInput.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
void | BindAction | Bind a callback to an InputAction asset + UE5 trigger event. |
void | BindAction | String-name overload (compat with the legacy binding-by-name path). |
void | BindAxis | Axis bindings fire every frame with the current value (0 when idle). |
void | BindAxis | |
void | BindAxis2D | |
void | BindAxis2D | |
void | BindAxis3D | |
void | BindAxis3D | |
void | ClearBindings | |
void | Evaluate | Poll InputActionSystem and fire bound delegates. |
Function details
BindAction
C++
void BindAction(const InputActionAsset* action, ETriggerEvent event, std::function<void()> fn)Bind a callback to an InputAction asset + UE5 trigger event.
BindAction
C++
void BindAction(const std::string& action, ETriggerEvent event, std::function<void()> fn)String-name overload (compat with the legacy binding-by-name path).
BindAxis
C++
void BindAxis(const InputActionAsset* action, std::function<void(float)> fn)Axis bindings fire every frame with the current value (0 when idle).
BindAxis
C++
void BindAxis(const std::string& action, std::function<void(float)> fn)BindAxis2D
C++
void BindAxis2D(const InputActionAsset* action, std::function<void(Vec2)> fn)BindAxis2D
C++
void BindAxis2D(const std::string& action, std::function<void(Vec2)> fn)BindAxis3D
C++
void BindAxis3D(const InputActionAsset* action, std::function<void(Vec3)> fn)BindAxis3D
C++
void BindAxis3D(const std::string& action, std::function<void(Vec3)> fn)ClearBindings
C++
void ClearBindings()Evaluate
C++
void Evaluate(InputActionSystem* actions = nullptr)Poll InputActionSystem and fire bound delegates. Called once per frame by APlayerController::Tick. actions = the owning controller's input instance (split-screen); null = the global one.
Generated from Game/MPlayerInput.h via game.json · Nov 5, 2026Version 1.0.0