FIntRect::Right

Creates a rectangle from the right hand side of this rectangle.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/IntRect.h

Include

#include "Math/IntRect.h"

Syntax

FIntRect Right
(
    int32 InWidth
) const

Remarks

Creates a rectangle from the right hand side of this rectangle.

Returns

The new rectangle.

Parameters

Parameter

Description

InWidth

Width of the new rectangle (<= rectangles original width).

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