FSlateRect::Expand

Returns the rect that encompasses both rectangles

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Layout/SlateRect.h"

Syntax

FSlateRect Expand
(
    const FSlateRect & Other
) const

Remarks

Returns the rect that encompasses both rectangles

Returns

Rectangle that is big enough to fit both rectangles

Parameters

Parameter

Description

Other

The other rectangle

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