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