class
InputActionAsset
.miaction asset — a UE5 Enhanced-Input InputAction. Declares a named action, its value type (Button / Axis1D / Axis2D / Axis3D), whether it consumes its keys for lower-priority contexts, how several mappings of it accumulate, and any asset-level modifiers and triggers that apply everywhere the action is mapped. An InputMappingContext references these by path and binds hardware sources to them.
- Module
- AssetSystem
- Header
#include "AssetSystem/Assets/InputActionAsset.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
InputActionAsset() | InputActionAsset | |
~InputActionAsset() override | ~InputActionAsset |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Load | |
void | Unload | |
bool | SaveToFile | Serialize the current fields to path as MDF. |
std::string | SerializeToString | In-memory MDF round-trip — used by the editor's undo snapshots. |
bool | LoadFromString | |
const std::string& | GetActionName | |
void | SetActionName | |
InputActionType | GetValueType | |
void | SetValueType | |
bool | GetConsumeInput | UE5 bConsumeInput: a source mapped to this action reads zero for every lower-priority context while this action's context is stacked. |
void | SetConsumeInput | |
EInputAccumulation | GetAccumulation | |
void | SetAccumulation | |
const std::vector<InputModifier>& | GetModifiers | |
std::vector<InputModifier>& | GetModifiers | |
const std::vector<InputTrigger>& | GetTriggers | |
std::vector<InputTrigger>& | GetTriggers |
Function details
InputActionAsset
C++
InputActionAsset()~InputActionAsset
C++
~InputActionAsset() overrideLoad
C++
bool Load(const std::string& path) overrideUnload
C++
void Unload() overrideSaveToFile
C++
bool SaveToFile(const std::string& path) constSerialize the current fields to path as MDF.
SerializeToString
C++
std::string SerializeToString() constIn-memory MDF round-trip — used by the editor's undo snapshots.
LoadFromString
C++
bool LoadFromString(const std::string& text)GetActionName
C++
const std::string& GetActionName() constSetActionName
C++
void SetActionName(const std::string& name)GetValueType
C++
InputActionType GetValueType() constSetValueType
C++
void SetValueType(InputActionType type)GetConsumeInput
C++
bool GetConsumeInput() constUE5 bConsumeInput: a source mapped to this action reads zero for every lower-priority context while this action's context is stacked.
SetConsumeInput
C++
void SetConsumeInput(bool consume)GetAccumulation
C++
EInputAccumulation GetAccumulation() constSetAccumulation
C++
void SetAccumulation(EInputAccumulation accumulation)GetModifiers
C++
const std::vector<InputModifier>& GetModifiers() constGetModifiers
C++
std::vector<InputModifier>& GetModifiers()GetTriggers
C++
const std::vector<InputTrigger>& GetTriggers() constGetTriggers
C++
std::vector<InputTrigger>& GetTriggers()Generated from AssetSystem/Assets/InputActionAsset.h via assetsystem.json · Nov 4, 2026Version 1.0.0