Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Types
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Types/SlateStructs.h |
Include | #include "Types/SlateStructs.h" |
Syntax
struct FOptionalSize
Remarks
Structure for optional floating point sizes.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Creates an unspecified size. | ||
![]() |
FOptionalSize
(
const float SpecifiedSize |
Creates a size with the specified value. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
float | Get () |
Gets the value of the size. |
![]() ![]() |
bool | IsSet () |
Checks whether the size is set. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator==
(
const FOptionalSize& Other |
Compare one optional size to another for equality |
Constants
Name | Description |
---|---|
Unspecified | Constant for unspecified sizes. |