Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/FEnvQueryInstance > API/Runtime/AIModule/FEnvQueryInstance/FItemIterator
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetScore
(
EEnvTestPurpose::Type TestPurpose, |
Filter and score an item - used by tests working on bool values (can be called multiple times for single item when processing contexts with multiple entries) | EnvironmentQuery/EnvQueryTypes.h | |
void SetScore
(
EEnvTestPurpose::Type TestPurpose, |
Filter and score an item - used by tests working on float values (can be called multiple times for single item when processing contexts with multiple entries) NOTE: The Score is the raw score, before clamping, normalizing, and multiplying by weight. | EnvironmentQuery/EnvQueryTypes.h |
SetScore(EEnvTestPurpose::Type, EEnvTestFilterType::Type, bool, bool)
Description
Filter and score an item - used by tests working on bool values (can be called multiple times for single item when processing contexts with multiple entries)
| Name | SetScore |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryTypes.h |
| Include Path | #include "EnvironmentQuery/EnvQueryTypes.h" |
void SetScore
(
EEnvTestPurpose::Type TestPurpose,
EEnvTestFilterType::Type FilterType,
bool bScore,
bool bExpected
)
SetScore(EEnvTestPurpose::Type, EEnvTestFilterType::Type, float, float, float)
Description
Filter and score an item - used by tests working on float values (can be called multiple times for single item when processing contexts with multiple entries) NOTE: The Score is the raw score, before clamping, normalizing, and multiplying by weight. The FilterMin and FilterMax values are ONLY used for filtering (if any).
| Name | SetScore |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryTypes.h |
| Include Path | #include "EnvironmentQuery/EnvQueryTypes.h" |
void SetScore
(
EEnvTestPurpose::Type TestPurpose,
EEnvTestFilterType::Type FilterType,
float Score,
float FilterMin,
float FilterMax
)