FSlateRect::OffsetBy

Return a rectangle that is offset by the amount specified .

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Layout/SlateRect.h"

Syntax

FSlateRect OffsetBy
(
    const FVector2D & OffsetAmount
) const

Remarks

Return a rectangle that is offset by the amount specified .

Returns

An offset rectangle.

Parameters

Parameter

Description

OffsetAmount

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