UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AIHelpers.h File Reference
#include "AITypes.h"
#include "Containers/Array.h"
#include "Math/MathFwd.h"
#include "Math/Quat.h"
#include "Math/Rotator.h"
#include "Misc/Optional.h"
#include "Templates/SubclassOf.h"

Go to the source code of this file.

Namespaces

namespace  FAISystem
 
namespace  UE
 
namespace  UE::AI
 

Functions

FVector FAISystem::FindClosestLocation (const FVector &Origin, const TArray< FVector > &Locations)
 
bool FAISystem::CheckIsTargetInSightCone (const FVector &StartLocation, const FVector &ConeDirectionNormal, float PeripheralVisionAngleCos, float ConeDirectionBackwardOffset, float NearClippingRadiusSq, float const FarClippingRadiusSq, const FVector &TargetLocation)
 
TOptional< floatUE::AI::GetYawFromVector (const FVector &Vector)
 
TOptional< floatUE::AI::GetYawFromRotator (const FRotator &Rotator)
 
TOptional< floatUE::AI::GetYawFromQuaternion (const FQuat &Quaternion)
 
void UE::AI::GetActorClassDefaultComponents (const TSubclassOf< AActor > &ActorClass, TArray< UActorComponent * > &OutComponents, const TSubclassOf< UActorComponent > &InComponentClass)