USphereComponent::CalcBoundingCylinder

Calculate the axis-aligned bounding cylinder of the component (radius in X-Y, half-height along Z axis).

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USceneComponent::CalcBoundingCylinder()

USphereComponent::CalcBoundingCylinder()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SphereComponent.h

Include

#include "Components/SphereComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SphereComponent.cpp

Syntax

virtual void CalcBoundingCylinder
(
    float & CylinderRadius,
    float & CylinderHalfHeight
) const

Remarks

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.