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

SignatureNameDescription
InputActionAsset()InputActionAsset
~InputActionAsset() override~InputActionAsset

Public functions

ReturnsNameDescription
boolLoad
voidUnload
boolSaveToFileSerialize the current fields to path as MDF.
std::stringSerializeToStringIn-memory MDF round-trip — used by the editor's undo snapshots.
boolLoadFromString
const std::string&GetActionName
voidSetActionName
InputActionTypeGetValueType
voidSetValueType
boolGetConsumeInputUE5 bConsumeInput: a source mapped to this action reads zero for every lower-priority context while this action's context is stacked.
voidSetConsumeInput
EInputAccumulationGetAccumulation
voidSetAccumulation
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() override

Load

C++
bool Load(const std::string& path) override

Unload

C++
void Unload() override

SaveToFile

C++
bool SaveToFile(const std::string& path) const

Serialize the current fields to path as MDF.

SerializeToString

C++
std::string SerializeToString() const

In-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() const

SetActionName

C++
void SetActionName(const std::string& name)

GetValueType

C++
InputActionType GetValueType() const

SetValueType

C++
void SetValueType(InputActionType type)

GetConsumeInput

C++
bool GetConsumeInput() const

UE5 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() const

SetAccumulation

C++
void SetAccumulation(EInputAccumulation accumulation)

GetModifiers

C++
const std::vector<InputModifier>& GetModifiers() const

GetModifiers

C++
std::vector<InputModifier>& GetModifiers()

GetTriggers

C++
const std::vector<InputTrigger>& GetTriggers() const

GetTriggers

C++
std::vector<InputTrigger>& GetTriggers()
Generated from AssetSystem/Assets/InputActionAsset.h via assetsystem.json · Nov 4, 2026Version 1.0.0