| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/Perception/AISense_Sight.h |
Include |
#include "Perception/AISense_Sight.h" |
class UAISense_Sight : public UAISense
Name | Description | ||
---|---|---|---|
|
bSightQueriesOutOfRangeDirty |
||
|
DefaultSightCollisionChannel |
||
|
DigestedProperties |
||
|
float |
HighImportanceDistanceSquare |
|
|
float |
HighImportanceQueryDistanceThreshold |
|
|
float |
MaxQueryImportance |
|
|
double |
MaxTimeSlicePerTick |
|
|
MaxTracesPerTick |
||
|
MinQueriesPerTimeSliceCheck |
||
|
NextOutOfRangeIndex |
The SightQueries are a n^2 problem and to reduce the sort time, they are now split between in range and out of range Since the out of range queries only age as the distance component of the score is always 0, there is few need to sort them In the majority of the cases most of the queries are out of range, so the sort time is greatly reduced as we only sort the in range queries |
|
|
ObservedTargets |
||
|
float |
SightLimitQueryImportance |
|
|
SightQueriesInRange |
||
|
SightQueriesOutOfRange |
Name | Description | |
---|---|---|
|
UAISense_Sight ( |
Name | Description | ||
---|---|---|---|
|
float |
CalcQueryImportance ( |
|
|
GenerateQueriesForListener ( |
||
|
OnListenerRemovedImpl ( |
||
|
OnListenerUpdateImpl ( |
||
|
OnNewListenerImpl ( |
||
|
RegisterEvent ( |
||
|
RegisterTarget |
Returns information whether new LoS queries have been added |
|
|
RemoveAllQueriesByListener ( |
||
|
RemoveAllQueriesToTarget ( |
||
|
ShouldAutomaticallySeeTarget ( |
Name | Description | ||
---|---|---|---|
|
OnListenerConfigUpdated ( |
||
|
OnListenerForgetsActor ( |
||
|
OnListenerForgetsAll ( |
||
|
RegisterSource ( |
Virtual void RegisterSources(TArray |
|
|
UnregisterSource ( |
||
|
float |
Update() |
Name | Description | ||
---|---|---|---|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Name |
Description |
|
---|---|---|
|
FDigestedSightProperties |
Name |
Description |
|
---|---|---|
|
FQueriesOperationPostProcess |
Name |
Description |
---|---|
FTargetsContainer |
Name | Description | ||
---|---|---|---|
|
RegisterTarget ( |
Use RegisterTarget without unneeded PostProcess parameter. |
|
|
RegisterTarget ( |
Use RegisterTarget without unneeded PostProcess parameter. |
|
|
RemoveAllQueriesByListener ( |
Use RemoveAllQueriesByListener without unneeded PostProcess parameter. |
|
|
RemoveAllQueriesByListener ( |
Use RemoveAllQueriesByListener without unneeded PostProcess parameter. |
|
|
RemoveAllQueriesToTarget ( |
Use RemoveAllQueriesToTarget without unneeded PostProcess parameter. |
|
|
RemoveAllQueriesToTarget ( |
Use RemoveAllQueriesToTarget without unneeded PostProcess parameter. |
|
|
SortQueries() |
Not needed anymore done automatically at the beginning of each update. |