FSlateRect::Round

Rounds the Left, Top, Right and Bottom fields and returns a new [FSlateRect](API\Runtime\SlateCore\Layout\FSlateRect) with rounded components.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/SlateRect.h

Include

#include "Layout/SlateRect.h"

Syntax

FSlateRect Round() const

Remarks

Rounds the Left, Top, Right and Bottom fields and returns a new FSlateRect with rounded components.

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