FIntRect::Right

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

Choose your operating system:

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).