FOptionalSize

Structure for optional floating point sizes.

Windows
MacOS
Linux

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

Name Description

Public function

FOptionalSize()

Creates an unspecified size.

Public function

FOptionalSize

(
    const float SpecifiedSize
)

Creates a size with the specified value.

Functions

Name Description

Public function Const

float

 

Get()

Gets the value of the size.

Public function Const

bool

 

IsSet()

Checks whether the size is set.

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FOptionalSize& Other
)

Compare one optional size to another for equality

Constants

Name

Description

Unspecified

Constant for unspecified sizes.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss