FBox2D::GetCenterAndExtents

Get the center and extents

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Box2D.h"

Syntax

void GetCenterAndExtents
(
    FVector2D & center,
    FVector2D & Extents
) const

Remarks

Get the center and extents

Parameters

Parameter

Description

center[out]

reference to center point

Extents[out]

reference to the extent around the center

See Also

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