struct

FArcUIAsset

The .ui asset: design canvas resolution + the widget tree root. MDF text/binary is the on-disk form, consistent with .mat / .animgraph.

Module
ArcUI
Header
#include "ArcUI/FArcUIAsset.h"
Namespace
Mowo

Properties

TypeNameDescription
int32_tDesignWidthDefault 1920.
int32_tDesignHeightDefault 1080.
std::stringThemePathOptional .theme this screen resolves its colour/font/metric tokens against. Empty falls back to the host's project theme, then the built-in default theme, so every existing asset keeps the colours it had.
std::stringControllerClass
std::vector<FArcUIExposedVar>Exposed
std::vector<FArcUIAnimation>Animations
FArcUINodeRoot
static constexpr uint32_tkSchemaVersionBumped when the on-disk shape changes; files without the marker are 1. Default 1.
static constexpr const char*PackageClassThe class a screen's package declares (ROADMAP §23.6); SaveToFile keeps the package form for a file that already has one. Default "ArcUIWidget".

Public functions

ReturnsNameDescription
std::stringSerializeToMDF
boolParseFromMDF
boolLoadFromFile
boolSaveToFileRefuses to overwrite a file this asset failed to load, and anything loaded from a newer schema: in both cases what the asset holds is less than what is on disk, and saving would write the difference away.
const FArcUIExposedVar*FindExposed
const FArcUIAnimation*FindAnimation
FArcUIAnimation*FindAnimation
FArcUIAssetMakeDefault
const char*AnchorName
EArcUIAnchorAnchorFromName
voidAnchorPresetVectorsThe anchor/alignment vectors a preset stands for.
const char*SlotAlignName
EArcUISlotAlignSlotAlignFromName

Function details

SerializeToMDF

C++
std::string SerializeToMDF() const

ParseFromMDF

C++
bool ParseFromMDF(const std::string& text, std::string* outError = nullptr)

LoadFromFile

C++
bool LoadFromFile(const std::string& path, std::string* outError = nullptr)

SaveToFile

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

Refuses to overwrite a file this asset failed to load, and anything loaded from a newer schema: in both cases what the asset holds is less than what is on disk, and saving would write the difference away.

FindExposed

C++
const FArcUIExposedVar* FindExposed(const std::string& name) const

FindAnimation

C++
const FArcUIAnimation* FindAnimation(const std::string& name) const

FindAnimation

C++
FArcUIAnimation* FindAnimation(const std::string& name)

MakeDefault

C++
static FArcUIAsset MakeDefault()

AnchorName

C++
static const char* AnchorName(EArcUIAnchor anchor)

AnchorFromName

C++
static EArcUIAnchor AnchorFromName(const std::string& name)

AnchorPresetVectors

C++
static void AnchorPresetVectors(EArcUIAnchor anchor, Vec2& outMin, Vec2& outMax, Vec2& outAlignment)

The anchor/alignment vectors a preset stands for. The presets are exactly the ten UMG shortcuts, so a preset node and its expanded fractional form lay out identically.

SlotAlignName

C++
static const char* SlotAlignName(EArcUISlotAlign align)

SlotAlignFromName

C++
static EArcUISlotAlign SlotAlignFromName(const std::string& name)
Generated from ArcUI/FArcUIAsset.h via arcui.json · Nov 4, 2026Version 1.0.0