class
InputContext
- Module
- Input
- Header
#include "Input/InputContext.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
explicit InputContext(const std::string& name) | InputContext | |
~InputContext() = default | ~InputContext |
Public functions
| Returns | Name | Description |
|---|---|---|
const std::string& | GetName | |
void | SetEnabled | |
bool | IsEnabled | |
void | SetConsumesInput | If true, this context blocks lower-priority contexts from receiving input |
bool | ConsumesInput | |
void | SetPriority | Stack ordering weight: InputActionSystem::PushContext inserts so the stack stays sorted ascending, back = highest = evaluated first. |
int32_t | GetPriority | |
void | SetRuntimeOnly | Runtime-only contexts are rebuilt from other data every session (the Enhanced-Input subsystem mirrors IMC assets into synthetic contexts). |
bool | IsRuntimeOnly | |
InputActionMap& | GetActionMap | |
const InputActionMap& | GetActionMap |
Function details
InputContext
C++
explicit InputContext(const std::string& name)~InputContext
C++
~InputContext() = defaultGetName
C++
const std::string& GetName() constSetEnabled
C++
void SetEnabled(bool enabled)IsEnabled
C++
bool IsEnabled() constSetConsumesInput
C++
void SetConsumesInput(bool consumes)If true, this context blocks lower-priority contexts from receiving input
ConsumesInput
C++
bool ConsumesInput() constSetPriority
C++
void SetPriority(int32_t priority)Stack ordering weight: InputActionSystem::PushContext inserts so the stack stays sorted ascending, back = highest = evaluated first. Equal priorities keep push order (a later push lands above earlier equals), which preserves the legacy "push means top" behaviour at the default 0.
GetPriority
C++
int32_t GetPriority() constSetRuntimeOnly
C++
void SetRuntimeOnly(bool runtimeOnly)Runtime-only contexts are rebuilt from other data every session (the Enhanced-Input subsystem mirrors IMC assets into synthetic contexts). SaveBindings skips them — persisting one would boot a phantom copy that shadows the real asset next session.
IsRuntimeOnly
C++
bool IsRuntimeOnly() constGetActionMap
C++
InputActionMap& GetActionMap()GetActionMap
C++
const InputActionMap& GetActionMap() constGenerated from Input/InputContext.h via input.json · Nov 2, 2026Version 1.0.0