UCapsuleComponent::CalcBoundingCylinder

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

Windows
MacOS
Linux

Override Hierarchy

USceneComponent::CalcBoundingCylinder()

UCapsuleComponent::CalcBoundingCylinder()

References

Module

Engine

Header

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

Include

#include "Components/CapsuleComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CapsuleComponent.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.

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