FIntRect::Size

Gets the distance from one corner of the rectangle to the other.

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

FIntPoint Size() const

Remarks

Gets the distance from one corner of the rectangle to the other.

Returns

The distance from one corner of the rectangle to the other.