UCapsuleComponent::GetScaledCapsuleSize_WithoutHemisphere

Returns the capsule radius and half-height scaled by the component scale.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/CapsuleComponent.h"

Syntax

void GetScaledCapsuleSize_WithoutHemisphere
(
    float & OutRadius,
    float & OutHalfHeightWithoutHemisphere
) const

Remarks

Returns the capsule radius and half-height scaled by the component scale. Half-height excludes the hemisphere end cap.

Returns

The capsule radius and half-height scaled by the component scale.

Parameters

Parameter

Description

OutRadius

Radius of the capsule, ignoring component scaling.

OutHalfHeightWithoutHemisphere

Half-height of the capsule, scaled by the component scale. Excludes the hemisphere end cap.

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