FSlateRect::GetCenter

Returns the center of the rectangle

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Layout/SlateRect.h"

Syntax

FVector2D GetCenter() const

Remarks

Returns the center of the rectangle

Returns

The center point.

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