| FEnvQueryResult
|
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryTypes.h |
Include |
#include "EnvironmentQuery/EnvQueryTypes.h" |
struct FEnvQueryInstance : public FEnvQueryResult
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bFoundSingleResult |
Used to breaking from item iterator loops |
|
uint8: 1 |
bHasLoggedTimeLimitWarning |
True if this query has logged a warning that it overran the time limit |
|
uint8: 1 |
bPassOnSingleResult |
Set when testing final condition of an option |
|
uint8: 1 |
bStoreDebugInfo |
Set to true to store additional debug info |
|
ContextCache |
Contexts in use |
|
|
float |
CurrentStepTimeLimit |
If > 0 then it's how much time query has for performing current step |
|
CurrentTest |
Currently processed test (-1 = generator) |
|
|
CurrentTestStartingItem |
Non-zero if test run last step has been stopped mid-process. |
|
|
DebugData |
||
|
FinishDelegate |
Observer's delegate |
|
|
ItemDetails |
List of item details |
|
|
ItemTypeActorCDO |
Item type's CDO for actor tests |
|
|
ItemTypeVectorCDO |
Item type's CDO for location tests |
|
|
Mode |
Run mode |
|
|
NamedParams |
Execution params |
|
|
NumProcessedItems |
Number of items processed in current step |
|
|
NumValidItems |
Number of valid items on list |
|
|
Options |
List of options |
|
|
QueryName |
Short name of query template - friendly name for debugging |
|
|
double |
StartTime |
Timestamp of creating query instance |
|
float |
TotalExecutionTime |
Time spent executing this query |
|
UniqueName |
Unique name of query template - object name |
|
|
ValueSize |
Size of current value |
|
|
UWorld * |
World |
World owning this query instance |
Name | Description | |
---|---|---|
|
FEnvQueryInstance() |
|
|
FEnvQueryInstance ( |
Name | Description | |
---|---|---|
|
~FEnvQueryInstance() |
Name | Description | ||
---|---|---|---|
|
AddItemData ( |
AddItemData specialization for arrays if values |
|
|
AddItemData ( |
||
|
AddItemData ( |
A specialization to support saving locations with navigation data already gathered |
|
|
AddItemData ( |
||
|
AddItemData ( |
||
|
AddItemData ( |
||
|
CanBatchTest() |
Check if current test can batch its calculations |
|
|
DecStats() |
||
|
ExecuteOneStep ( |
Execute single step of query |
|
|
FinalizeGeneration() |
Prepare item data after generator has finished |
|
|
FinalizeQuery() |
Final pass on items of finished query |
|
|
FinalizeTest() |
Update costs and flags after test has finished |
|
|
GetAllocatedSize() |
||
|
GetBoundingBox() |
||
|
GetContextAllocatedSize() |
||
|
GetExecutionTimeDescription() |
Describe for logging purposes what the query spent time on |
|
|
IncStats() |
||
|
IsInSingleItemFinalSearch() |
||
|
Log ( |
||
|
NormalizeScores() |
Normalize total score in range 0..1 |
|
|
PickRandomItemOfScoreAtLeast ( |
Pick one of items with score equal or higher than specified |
|
|
PickSingleItem ( |
Discard all items but one |
|
|
PrepareContext |
Update context cache |
|
|
PrepareContext ( |
Update context cache |
|
|
PrepareContext ( |
Helpers for reading spatial data from context |
|
|
PrepareContext |
Update context cache |
|
|
PrepareContext |
Helpers for reading actor data from context |
|
|
ReserveItemData ( |
Raw data operations |
|
|
SortScores() |
Sort all scores, from highest to lowest |
|
|
StripRedundantData() |
Removes all runtime data that can be used for debugging (not a part of actual query result) |
Name |
Description |
|
---|---|---|
|
FConstItemIterator |
That this iterator is for read-only purposes. |
|
FItemIterator |
Name |
Description |
---|---|
FNamedParamValueType |
|
ItemIterator |
Name |
Description |
---|---|
bDebuggingInfoEnabled |