FIntRect::GetCenterAndExtents

Gets the Center and Extents of this rectangle.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/IntRect.h"

Syntax

void GetCenterAndExtents
(
    FIntPoint & OutCenter,
    FIntPoint & OutExtent
) const

Remarks

Gets the Center and Extents of this rectangle.

Parameters

Parameter

Description

OutCenter

Will contain the center point.

OutExtent

Will contain the extent.

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