FBox::GetCenterAndExtents

Gets the center and extents of this box.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Box.h"

Syntax

void GetCenterAndExtents
(
    FVector & Center,
    FVector & Extents
) const

Remarks

Gets the center and extents of this box.

Parameters

Parameter

Description

Center

[out] Will contain the box center point.

Extents

[out] Will contain 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