Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UCharacterMovementComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
FVector GetPawnCapsuleExtent
(
const EShrinkCapsuleExtent ShrinkMode,
const float CustomShrinkAmount
) const
Remarks
Get the capsule extent for the Pawn owner, possibly reduced in size depending on ShrinkMode. The capsule extent of the Pawn owner, possibly reduced in size depending on ShrinkMode.
Parameters
| Name | Description |
|---|---|
| ShrinkMode | Controls the way the capsule is resized. |
| CustomShrinkAmount | The amount to shrink the capsule, used only for ShrinkModes that specify custom. |