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
| Type | Name | Description |
|---|---|---|
int32_t | DesignWidth | Default 1920. |
int32_t | DesignHeight | Default 1080. |
std::string | ThemePath | Optional .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::string | ControllerClass | |
std::vector<FArcUIExposedVar> | Exposed | |
std::vector<FArcUIAnimation> | Animations | |
FArcUINode | Root | |
static constexpr uint32_t | kSchemaVersion | Bumped when the on-disk shape changes; files without the marker are 1. Default 1. |
static constexpr const char* | PackageClass | The 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
| Returns | Name | Description |
|---|---|---|
std::string | SerializeToMDF | |
bool | ParseFromMDF | |
bool | LoadFromFile | |
bool | SaveToFile | 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. |
const FArcUIExposedVar* | FindExposed | |
const FArcUIAnimation* | FindAnimation | |
FArcUIAnimation* | FindAnimation | |
FArcUIAsset | MakeDefault | |
const char* | AnchorName | |
EArcUIAnchor | AnchorFromName | |
void | AnchorPresetVectors | The anchor/alignment vectors a preset stands for. |
const char* | SlotAlignName | |
EArcUISlotAlign | SlotAlignFromName |
Function details
SerializeToMDF
C++
std::string SerializeToMDF() constParseFromMDF
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) constRefuses 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) constFindAnimation
C++
const FArcUIAnimation* FindAnimation(const std::string& name) constFindAnimation
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