FIntRect::GetCenterAndExtents

Gets the Center and Extents 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

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.