Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/EnvironmentQuery > API/Runtime/AIModule/EnvironmentQuery/FEnvQueryInstance
Inheritance Hierarchy
- FEnvQueryInstance::FConstItemIterator
- FEnvQueryInstance::FItemIterator
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryTypes.h |
| Include | #include "EnvironmentQuery/EnvQueryTypes.h" |
Syntax
struct FItemIterator : public FEnvQueryInstance::FConstItemIterator
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bForced | ||
| uint8: 1 | bIsFiltering | ||
| uint8: 1 | bPassed | ||
| uint8 | CachedFilterOp | ||
| uint8 | CachedScoreOp | ||
| double | Deadline | ||
| float | ItemScore | ||
| int16 | NumPassedForItem | ||
| int16 | NumTestsForItem |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FItemIterator
(
const UEnvQueryTest* QueryTest, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | ForceItemState
(
const EEnvItemStatus::Type InStatus, |
Force state and score of item Any following SetScore calls for current item will be ignored | |
| void | |||
| FItemIterator & | Disables time slicing for this iterator, use with caution! | ||
| void | |||
| 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) | |
| 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. | |
| void | SetScoreInternal
(
float Score |
||
| void |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator++ () |