Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UCapsuleComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/CapsuleComponent.h |
| Include | #include "Components/CapsuleComponent.h" |
void GetScaledCapsuleSize
&40;
float & OutRadius,
float & OutHalfHeight
&41; const
Remarks
Returns the capsule radius and half-height scaled by the component scale. Half-height includes the hemisphere end cap. The capsule radius and half-height scaled by the component scale.
Parameters
| Name | 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. |