FKAggregateGeom::CalcBoxSphereBounds

Calculates a tight box-sphere bounds for the aggregate geometry; this is more expensive than CalcAABB (tight meaning the sphere may be smaller than would be required to encompass the AABB, but all individual components lie within both the box and the sphere)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/AggregateGeom.h

Include

#include "PhysicsEngine/AggregateGeom.h"

Source

/Engine/Source/Runtime/Engine/Private/Collision/KAggregateGeom.cpp

Syntax

void CalcBoxSphereBounds
(
    FBoxSphereBounds & Output,
    const FTransform & LocalToWorld
) const

Remarks

Calculates a tight box-sphere bounds for the aggregate geometry; this is more expensive than CalcAABB (tight meaning the sphere may be smaller than would be required to encompass the AABB, but all individual components lie within both the box and the sphere)

Parameters

Parameter

Description

Output

The output box-sphere bounds calculated for this set of aggregate geometry

LocalToWorld

Transform

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