UCapsuleComponent::GetUnscaledCapsuleHalfHeight_WithoutHemisphere

Returns the capsule half-height minus radius (to exclude the hemisphere), ignoring component scaling.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/CapsuleComponent.h"

Syntax

float GetUnscaledCapsuleHalfHeight_WithoutHemisphere() const

Remarks

Returns the capsule half-height minus radius (to exclude the hemisphere), ignoring component scaling. This excludes the hemisphere end cap. From the center of the capsule this is the vertical distance along the straight cylindrical portion to the point just before the curve of top hemisphere begins.

Returns

The capsule half-height minus radius, ignoring component scaling.

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