struct
FArcUINode
A single node in the serialized Arc widget tree: which Arc widget class to build, its canvas anchoring/placement, its widget-specific properties, its data bindings and its children. Value type — the whole tree is a plain, copyable structure the editor edits in place and the factory reads.
- Module
- ArcUI
- Header
#include "ArcUI/FArcUIAsset.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::string | Type | Default "CanvasPanel". |
std::string | Name | |
bool | Variable | Default false. |
EArcUIAnchor | Anchor | Default EArcUIAnchor::TopLeft. |
Vec2 | Position | Default Vec2(0.0f, 0.0f). |
Vec2 | Size | Default Vec2(200.0f, 48.0f). |
int32_t | ZOrder | Default 0. |
bool | CustomOffsetHigh | Per-side stretch offsets: Position is the left/top inset, this is the right/bottom one. Absent means the legacy symmetric behaviour (the far inset mirrors the near one), so assets authored before it load unchanged. Default false. |
Vec2 | OffsetHigh | Default Vec2(0.0f, 0.0f). |
bool | CustomAnchors | Fractional anchors + alignment pivot overriding the ten presets. Default false. |
Vec2 | AnchorMin | Default Vec2(0.0f, 0.0f). |
Vec2 | AnchorMax | Default Vec2(0.0f, 0.0f). |
bool | CustomAlignment | Default false. |
Vec2 | Alignment | Default Vec2(0.0f, 0.0f). |
bool | SizeToContentX | Default false. |
bool | SizeToContentY | Default false. |
bool | CustomSlotMargin | How this child sits inside an auto-layout parent. Absent fields mean the parent's own uniform spacing decides, which is what every asset authored before the designer grew slot rows carries — a node that never had one of these written must lay out byte-identically to how it did then. Default false. |
Vec4 | SlotMargin | Default Vec4(0.0f, 0.0f, 0.0f, 0.0f). |
float | SlotFill | Default 0.0f. |
EArcUISlotAlign | SlotHAlign | Default EArcUISlotAlign::Default. |
EArcUISlotAlign | SlotVAlign | Default EArcUISlotAlign::Default. |
bool | DesignHidden | Designer-only state, UMG's bHiddenInDesigner / bLockedInDesigner. The factory ignores both unless the host asks for designer semantics, so hiding a node while authoring can never change what ships. Default false. |
bool | DesignLocked | Default false. |
std::vector<std::pair<std::string, MDF::MdfValue>> | Props | |
std::vector<FArcUIBinding> | Bindings | |
std::vector<FArcUIEvent> | Events | |
std::vector<FArcUINode> | Children |
Public functions
| Returns | Name | Description |
|---|---|---|
const MDF::MdfValue* | FindProp | |
void | SetProp | |
bool | RemoveProp | |
std::string | GetString | |
float | GetFloat | |
bool | GetBool | |
const FArcUIBinding* | FindBinding | |
void | SetBinding | |
const FArcUIEvent* | FindEvent | |
FArcUICanvasSlot | ResolveCanvasSlot | The authored shorthand expanded into the full canvas-slot form. |
FArcUINode* | FindDescendant |
Function details
FindProp
C++
const MDF::MdfValue* FindProp(const std::string& key) constSetProp
C++
void SetProp(const std::string& key, MDF::MdfValue value)RemoveProp
C++
bool RemoveProp(const std::string& key)GetString
C++
std::string GetString(const std::string& key, const std::string& def) constGetFloat
C++
float GetFloat(const std::string& key, float def) constGetBool
C++
bool GetBool(const std::string& key, bool def) constFindBinding
C++
const FArcUIBinding* FindBinding(const std::string& property) constSetBinding
C++
void SetBinding(const std::string& property, const std::string& source)FindEvent
C++
const FArcUIEvent* FindEvent(const std::string& event) constResolveCanvasSlot
C++
FArcUICanvasSlot ResolveCanvasSlot() constThe authored shorthand expanded into the full canvas-slot form.
FindDescendant
C++
FArcUINode* FindDescendant(const std::string& name)Generated from ArcUI/FArcUIAsset.h via arcui.json · Nov 4, 2026Version 1.0.0