TBox2::GetCenterAndExtents

Get the center and extents

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Box2D.h"

Syntax

void GetCenterAndExtents
(
    TVector2< T > & center,
    TVector2< T > & 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