Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USphereComponent
Description
Calculate the axis-aligned bounding cylinder of the component (radius in X-Y, half-height along Z axis). Default behavior is just a cylinder around the box of the cached BoxSphereBounds.
Virtual Inheritance
- USceneComponent::CalcBoundingCylinder → USphereComponent::CalcBoundingCylinder
| Name | CalcBoundingCylinder |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SphereComponent.h |
| Include Path | #include "Components/SphereComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SphereComponent.cpp |
virtual void CalcBoundingCylinder
(
float & CylinderRadius,
float & CylinderHalfHeight
) const