engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FOptionalSize结构体 参考

Structure for optional floating point sizes. 更多...

#include <SlateStructs.h>

Public 成员函数

 FOptionalSize ()
 Creates an unspecified size.
 
 FOptionalSize (const float SpecifiedSize)
 Creates a size with the specified value. 更多...
 
float Get () const
 Gets the value of the size. 更多...
 
bool IsSet () const
 Checks whether the size is set. 更多...
 
bool operator== (const FOptionalSize &Other) const
 Compare one optional size to another for equality
 

详细描述

Structure for optional floating point sizes.

构造及析构函数说明

◆ FOptionalSize()

FOptionalSize::FOptionalSize ( const float  SpecifiedSize)
inline

Creates a size with the specified value.

参数
SpecifiedSizeThe size to set.

成员函数说明

◆ Get()

float FOptionalSize::Get ( ) const
inline

Gets the value of the size.

Before calling this method, check with IsSet() whether the size is actually specified. Unspecified sizes a value of -1.0f will be returned.

参见
IsSet

◆ IsSet()

bool FOptionalSize::IsSet ( ) const
inline

Checks whether the size is set.

返回
true if the size is set, false if it is unspecified.
参见
Get

该结构体的文档由以下文件生成: