FSlateRect::InsetBy

Return a rectangle that is contracted on each side by the amount specified in each margin.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Layout/SlateRect.h"

Syntax

FSlateRect InsetBy
(
    const struct FMargin & InsetAmount
) const

Remarks

Return a rectangle that is contracted on each side by the amount specified in each margin.

Returns

An inset rectangle.

Parameters

Parameter

Description

InsetAmount

The amount to contract the geometry.

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