UCapsuleComponent::GetUnscaledCapsuleSize

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 GetUnscaledCapsuleSize
(
    float & OutRadius,
    float & OutHalfHeight
) const

Remarks

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

Returns

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

Parameters

Parameter

Description

OutRadius

Radius of the capsule, scaled by the component scale.

OutHalfHeight

Half-height of the capsule, scaled by the component scale. Includes 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