UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PathFollowingAgentInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
6#include "CoreMinimal.h"
7#endif
9#include "UObject/Interface.h"
10#include "PathFollowingAgentInterface.generated.h"
11
12struct FHitResult;
13
14UINTERFACE(MinimalAPI, meta = (CannotImplementInterfaceInBlueprint))
19
21{
23
24
25 virtual void OnUnableToMove(const UObject& Instigator) PURE_VIRTUAL(IPathFollowingAgentInterface::OnUnableToMove, );
26
28 virtual void OnStartedFalling() {}
29
31 virtual void OnLanded() {}
32
34 virtual void OnMoveBlockedBy(const FHitResult& BlockingImpact) {}
35
37 virtual bool IsFollowingNavLink() const
38 {
39 return false;
40 }
41};
#define PURE_VIRTUAL(func,...)
Definition CoreMiscDefines.h:103
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UINTERFACE(...)
Definition ObjectMacros.h:780
#define GENERATED_IINTERFACE_BODY(...)
Definition ObjectMacros.h:770
#define GENERATED_UINTERFACE_BODY(...)
Definition ObjectMacros.h:769
Definition PathFollowingAgentInterface.h:21
Definition Interface.h:19
Definition Object.h:95
Definition PathFollowingAgentInterface.h:16
Definition HitResult.h:21