Base structure for size parameters. 更多...
#include <SlateStructs.h>
类 FSizeParam 继承关系图:Public 属性 | |
| ESizeRule | SizeRule |
| The sizing rule to use. | |
| TAttribute< float > | Value |
| The actual value this size parameter stores. 更多... | |
Protected 成员函数 | |
| FSizeParam (ESizeRule InTypeOfSize, const TAttribute< float > &InValue) | |
| Hidden constructor. 更多... | |
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
|
inlineprotected |
| TAttribute<float> FSizeParam::Value |
The actual value this size parameter stores.
This value can be driven by a delegate. It is only used for the Stretch mode.