Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components > UCapsuleComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/CapsuleComponent.h |
Include | #include "Components/CapsuleComponent.h" |
void GetUnscaledCapsuleSize_WithoutHemisphere
&40;
float & OutRadius,
float & OutHalfHeightWithoutHemisphere
&41; const
Remarks
Returns the capsule radius and half-height, ignoring component scaling. Half-height excludes the hemisphere end cap. The capsule radius and half-height (excluding hemisphere end cap), ignoring component scaling.
Parameters
Name | 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. |