Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Types
Inheritance Hierarchy
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Types/SlateStructs.h |
Include | #include "Types/SlateStructs.h" |
Syntax
struct FSizeParam
Remarks
Base structure for size parameters.
Describes a way in which a parent widget allocates available space to its child widgets.
When SizeRule is SizeRule_Auto, the widget's DesiredSize will be used as the space required. When SizeRule is SizeRule_Stretch, the available space will be distributed proportionately between peer Widgets depending on the Value property. Available space is space remaining after all the peers' SizeRule_Auto requirements have been satisfied.
FSizeParam cannot be constructed directly - see FStretch, FAuto, and FAspectRatio
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
ESizeRule | SizeRule | The sizing rule to use. |
![]() |
TAttribute< float > | Value | The actual value this size parameter stores. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FSizeParam
(
ESizeRule InTypeOfSize, |
Hidden constructor. |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
ESizeRule |