Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > FKAggregateGeom
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 |
void CalcBoxSphereBounds
&40;
FBoxSphereBounds & Output,
const FTransform & LocalToWorld
&41; 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
Name | Description |
---|---|
Output | The output box-sphere bounds calculated for this set of aggregate geometry |
LocalToWorld | Transform |