Navigation
API > API/Runtime > API/Runtime/Engine
Movement component used by SpectatorPawn. Primarily exists to be able to ignore time dilation during tick.
| Name | USpectatorPawnMovement |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/SpectatorPawnMovement.h |
| Include Path | #include "GameFramework/SpectatorPawnMovement.h" |
Syntax
UCLASS (MinimalAPI)
class USpectatorPawnMovement : public UFloatingPawnMovement
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UMovementComponent → UNavMovementComponent → UPawnMovementComponent → UFloatingPawnMovement → USpectatorPawnMovement
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
USpectatorPawnMovement
(
const FObjectInitializer& ObjectInitializer |
GameFramework/SpectatorPawnMovement.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIgnoreTimeDilation | uint32 | If true, component moves at full speed no matter the time dilation. Default is false. | GameFramework/SpectatorPawnMovement.h |
Functions
Public
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. | GameFramework/SpectatorPawnMovement.h |