UCapsuleComponent::GetUnscaledCapsuleSize_WithoutHemisphere

Returns the capsule radius and half-height, ignoring component scaling.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/CapsuleComponent.h"

Syntax

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

Remarks

Returns the capsule radius and half-height, ignoring component scaling. Half-height excludes the hemisphere end cap.

Returns

The capsule radius and half-height (excluding hemisphere end cap), ignoring component scaling.

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