![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DefaultPawn.h>
Inheritance diagram for ADefaultPawn:Public Member Functions | |
| USphereComponent * | GetCollisionComponent () const |
| UStaticMeshComponent * | GetMeshComponent () const |
Public Attributes | |
| uint32 | bAddDefaultMovementBindings:1 |
Static Public Attributes | |
| static ENGINE_API FName | MovementComponentName |
| static ENGINE_API FName | CollisionComponentName |
| static ENGINE_API FName | MeshComponentName |
Protected Attributes | |
| TObjectPtr< UPawnMovementComponent > | MovementComponent |
DefaultPawn implements a simple Pawn with spherical collision and built-in flying movement.
|
inline |
Returns CollisionComponent subobject
|
inline |
Returns MeshComponent subobject
| uint32 ADefaultPawn::bAddDefaultMovementBindings |
If true, adds default input bindings for movement and camera look.
|
static |
Name of the CollisionComponent.
|
static |
Name of the MeshComponent. Use this name if you want to prevent creation of the component (with ObjectInitializer.DoNotCreateDefaultSubobject).
|
protected |
DefaultPawn movement component
|
static |
Name of the MovementComponent. Use this name if you want to use a different class (with ObjectInitializer.SetDefaultSubobjectClass).