Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/FEnvQueryInstance
| Name | FItemIterator |
| Type | struct |
| Header File | /Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryTypes.h |
| Include Path | #include "EnvironmentQuery/EnvQueryTypes.h" |
Syntax
struct FItemIterator : public FEnvQueryInstance::FConstItemIterator
Inheritance Hierarchy
- FEnvQueryInstance::FConstItemIterator → FEnvQueryInstance::FItemIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FItemIterator
(
const UEnvQueryTest* QueryTest, |
EnvironmentQuery/EnvQueryTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FItemIterator() |
EnvironmentQuery/EnvQueryTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForceItemState
(
const EEnvItemStatus::Type InStatus, |
Force state and score of item Any following SetScore calls for current item will be ignored | EnvironmentQuery/EnvQueryTypes.h | |
FItemIterator & IgnoreTimeLimit() |
Disables time slicing for this iterator, use with caution! | EnvironmentQuery/EnvQueryTypes.h | |
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 |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CheckItemPassed() |
EnvironmentQuery/EnvQueryTypes.h | ||
void HandleFailedTestResult() |
EnvironmentQuery/EnvQueryTypes.h | ||
void InitItemScore() |
EnvironmentQuery/EnvQueryTypes.h | ||
void SetScoreInternal
(
float Score |
EnvironmentQuery/EnvQueryTypes.h | ||
void StoreTestResult() |
EnvironmentQuery/EnvQueryTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
EnvironmentQuery/EnvQueryTypes.h | ||
void operator++() |
EnvironmentQuery/EnvQueryTypes.h |