DreamGUI
类参考

UDreamLayoutContainerStackBox

UMG Stack Box

本页由 DreamGUIReferenceDocs commandlet 从反射生成,正文是头文件注释的原文(英文),所以不翻译——这样它永远和代码一致。概念讲解见核心概念。

Inherits from UDreamPanelLayoutBase.

Declared in Public/Core/Components/DreamPanelLayouts.h.

UMG Stack Box

Properties

NameTypeCategoryIn the details panelFrom BlueprintDescription
OrientationEDreamPanelOrientationStackBoxyesSetOrientation
PaddingFMarginStackBoxyesSetPadding
SpacingfloatStackBoxyesSetSpacing

Functions

FunctionKindDescription
void SetOrientation(EDreamPanelOrientation Value)callableSet Orientation
void SetPadding(FMargin Value)callableSet Padding
void SetSpacing(float Value)callableSet Spacing

Compared with UMG

Every Blueprint-facing member of the UMG class, and where it went. adopt: same name, same meaning. map: here under another name or on another type. reject: deliberately absent, with the reason.

UMGMemberStatusHereNote
UStackBoxOrientationadoptOrientationEDreamPanelOrientation rather than Slate's EOrientation, so the .dui text and the details panel spell the same two words the rest of this plugin does.
UStackBoxAddChildToStackBoxmapAddChildOne slot class here means one verb; AddChild returns the slot.
UStackBoxReplaceStackBoxChildAtmapReplaceChildAtOn the panel base, so every panel has it.

本页目录