#include "Misc/VRAIPerceptionOverrides.h"
#include "EngineDefines.h"
#include "EngineGlobals.h"
#include "CollisionQueryParams.h"
#include "Engine/Engine.h"
#include "AIModule/Classes/AISystem.h"
#include "AIModule/Classes/Perception/AIPerceptionComponent.h"
#include "VisualLogger/VisualLogger.h"
#include "AIModule/Classes/Perception/AISightTargetInterface.h"
#include "AIModule/Classes/Perception/AISenseConfig_Sight.h"
#include "AIModule/Classes/Perception/AIPerceptionSystem.h"
Go to the source code of this file.
|
FORCEINLINE_DEBUGGABLE bool | CheckIsTargetInSightPie (const FPerceptionListener &Listener, const UAISense_Sight_VR::FDigestedSightProperties &DigestedProps, const FVector &TargetLocation, const float SightRadiusSq) |
|
| DECLARE_CYCLE_STAT (TEXT("Perception Sense: Sight"), STAT_AI_Sense_Sight, STATGROUP_AI) |
|
| DECLARE_CYCLE_STAT (TEXT("Perception Sense: Sight, Listener Update"), STAT_AI_Sense_Sight_ListenerUpdate, STATGROUP_AI) |
|
| DECLARE_CYCLE_STAT (TEXT("Perception Sense: Sight, Register Target"), STAT_AI_Sense_Sight_RegisterTarget, STATGROUP_AI) |
|
| DECLARE_CYCLE_STAT (TEXT("Perception Sense: Sight, Remove By Listener"), STAT_AI_Sense_Sight_RemoveByListener, STATGROUP_AI) |
|
| DECLARE_CYCLE_STAT (TEXT("Perception Sense: Sight, Remove To Target"), STAT_AI_Sense_Sight_RemoveToTarget, STATGROUP_AI) |
|
| DECLARE_CYCLE_STAT (TEXT("Perception Sense: Sight, Update Sort"), STAT_AI_Sense_Sight_UpdateSort, STATGROUP_AI) |
|
| DEFINE_LOG_CATEGORY (LogAIPerceptionVR) |
|
template<typename T , class PREDICATE_CLASS > |
EForEachResult | ForEach (T &Array, const PREDICATE_CLASS &Predicate) |
|
template<typename T , class PREDICATE_CLASS > |
EReverseForEachResult | ReverseForEach (T &Array, const PREDICATE_CLASS &Predicate) |
|
◆ DO_SIGHT_VLOGGINGVR
#define DO_SIGHT_VLOGGINGVR (0 && ENABLE_VISUAL_LOG) |
◆ SIGHT_LOG_LOCATIONVR
#define SIGHT_LOG_LOCATIONVR |
( |
| ... | ) |
|
◆ SIGHT_LOG_SEGMENTVR
#define SIGHT_LOG_SEGMENTVR |
( |
| ... | ) |
|
◆ EForEachResult
◆ EReverseForEachResult
◆ CheckIsTargetInSightPie()
◆ DECLARE_CYCLE_STAT() [1/6]
DECLARE_CYCLE_STAT |
( |
TEXT("Perception Sense: Sight") | , |
|
|
STAT_AI_Sense_Sight | , |
|
|
STATGROUP_AI | ) |
◆ DECLARE_CYCLE_STAT() [2/6]
DECLARE_CYCLE_STAT |
( |
TEXT("Perception Sense: Sight, Listener Update") | , |
|
|
STAT_AI_Sense_Sight_ListenerUpdate | , |
|
|
STATGROUP_AI | ) |
◆ DECLARE_CYCLE_STAT() [3/6]
DECLARE_CYCLE_STAT |
( |
TEXT("Perception Sense: Sight, Register Target") | , |
|
|
STAT_AI_Sense_Sight_RegisterTarget | , |
|
|
STATGROUP_AI | ) |
◆ DECLARE_CYCLE_STAT() [4/6]
DECLARE_CYCLE_STAT |
( |
TEXT("Perception Sense: Sight, Remove By Listener") | , |
|
|
STAT_AI_Sense_Sight_RemoveByListener | , |
|
|
STATGROUP_AI | ) |
◆ DECLARE_CYCLE_STAT() [5/6]
DECLARE_CYCLE_STAT |
( |
TEXT("Perception Sense: Sight, Remove To Target") | , |
|
|
STAT_AI_Sense_Sight_RemoveToTarget | , |
|
|
STATGROUP_AI | ) |
◆ DECLARE_CYCLE_STAT() [6/6]
DECLARE_CYCLE_STAT |
( |
TEXT("Perception Sense: Sight, Update Sort") | , |
|
|
STAT_AI_Sense_Sight_UpdateSort | , |
|
|
STATGROUP_AI | ) |
◆ DEFINE_LOG_CATEGORY()
DEFINE_LOG_CATEGORY |
( |
LogAIPerceptionVR | | ) |
|
◆ ForEach()
template<typename T , class PREDICATE_CLASS >
EForEachResult ForEach |
( |
T & | Array, |
|
|
const PREDICATE_CLASS & | Predicate ) |
◆ ReverseForEach()
template<typename T , class PREDICATE_CLASS >
◆ DefaultMaxTracesPerTick
const int32 DefaultMaxTracesPerTick = 6 |
|
static |
◆ DefaultMinQueriesPerTimeSliceCheck
const int32 DefaultMinQueriesPerTimeSliceCheck = 40 |
|
static |