UCharacterMovementComponent::GetPawnCapsuleExtent

Get the capsule extent for the Pawn owner, possibly reduced in size depending on ShrinkMode.

Windows
MacOS
Linux

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

Syntax

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.

Returns

The capsule extent of the Pawn owner, possibly reduced in size depending on ShrinkMode.

Parameters

Parameter

Description

ShrinkMode

Controls the way the capsule is resized.

CustomShrinkAmount

The amount to shrink the capsule, used only for ShrinkModes that specify custom.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss