Navigation
Unreal Engine C++ API Reference > 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
&40;
const EShrinkCapsuleExtent ShrinkMode,
const float CustomShrinkAmount
&41; 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. |