DreamGUI
类参考

UDreamLayoutContainerStackBox

UDreamLayoutContainerStackBox

继承自 UDreamPanelLayoutBase。

声明于 Public/Core/Components/DreamPanelLayouts.h。

UMG Stack Box

Properties

名称类型分类在细节面板中来自蓝图描述
OrientationEDreamPanelOrientationStackBox是SetOrientation
PaddingFMarginStackBox是SetPadding
SpacingfloatStackBox是SetSpacing

Functions

函数类型描述
void SetOrientation(EDreamPanelOrientation Value)可调用设置方向
void SetPadding(FMargin Value)可调用设置内边距
void SetSpacing(float Value)可调用设置间距

与 UMG 的对比

UMG 类中每个面向蓝图的成员,以及它们在此处的去向。adopt:名称相同,含义相同。map:在此处使用其他名称或位于其他类型上。reject:有意缺失,并附原因。

UMG成员状态此处说明
UStackBoxOrientationadoptOrientation使用 EDreamPanelOrientation 而非 Slate 的 EOrientation,因此 .dui 文本和细节面板中拼写的两个词与本插件其余部分保持一致。
UStackBoxAddChildToStackBoxmapAddChild此处一个插槽类对应一个动词;AddChild 返回该插槽。
UStackBoxReplaceStackBoxChildAtmapReplaceChildAt位于面板基类上,因此每个面板都拥有它。

本页目录