UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CrowdAgentInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "UObject/Interface.h"
8#include "AITypes.h"
9#include "CrowdAgentInterface.generated.h"
10
11UINTERFACE(MinimalAPI, meta=(CannotImplementInterfaceInBlueprint))
16
18{
20
21
22 virtual FVector GetCrowdAgentLocation() const { return FAISystem::InvalidLocation; }
23
25 virtual FVector GetCrowdAgentVelocity() const { return FVector::ZeroVector; }
26
28 virtual void GetCrowdAgentCollisions(float& CylinderRadius, float& CylinderHalfHeight) const {}
29
31 virtual float GetCrowdAgentMaxSpeed() const { return 0.0f; }
32
34 virtual int32 GetCrowdAgentAvoidanceGroup() const { return 1; }
35
37 virtual int32 GetCrowdAgentGroupsToAvoid() const { return MAX_int32; }
38
40 virtual int32 GetCrowdAgentGroupsToIgnore() const { return 0; }
41};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define MAX_int32
Definition NumericLimits.h:25
#define UINTERFACE(...)
Definition ObjectMacros.h:780
#define GENERATED_IINTERFACE_BODY(...)
Definition ObjectMacros.h:770
#define GENERATED_UINTERFACE_BODY(...)
Definition ObjectMacros.h:769
Definition CrowdAgentInterface.h:18
Definition CrowdAgentInterface.h:13
Definition Interface.h:19
constexpr FVector InvalidLocation
Definition AITypes.h:30
static CORE_API const TVector< double > ZeroVector
Definition Vector.h:79