Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryTest.h |
Include |
#include "EnvironmentQuery/EnvQueryTest.h" |
class UEnvQueryTest : public UEnvQueryNode
Name | Description | ||
---|---|---|---|
|
bDefineReferenceValue |
When set to true enables usage of ReferenceValue. It's false by default |
|
|
BoolValue |
Desired boolean value of the test for scoring to occur or filtering test to pass. |
|
|
TEnumAsByte< EE... |
ClampMaxType |
How should the upper bound for normalization of the raw test value before applying the scoring formula be determined? Should it use the highest value found (tested), the upper threshold for filtering, or a separate specified normalization maximum? |
|
TEnumAsByte< EE... |
ClampMinType |
How should the lower bound for normalization of the raw test value before applying the scoring formula be determined? Should it use the lowest value found (tested), the lower threshold for filtering, or a separate specified normalization minimum? |
|
TEnumAsByte< EE... |
Cost |
Cost of test |
|
TEnumAsByte< EE... |
FilterType |
Does this test filter out results that are below a lower limit, above an upper limit, or both? Or does it just look for a matching value? |
|
FloatValueMax |
Maximum limit (inclusive) of valid values for the raw test value. |
|
|
FloatValueMin |
Minimum limit (inclusive) of valid values for the raw test value. |
|
|
TEnumAsByte< EE... |
MultipleContextFilterOp |
Determines filtering operator when context returns multiple items |
|
TEnumAsByte< EE... |
MultipleContextScoreOp |
Determines scoring operator when context returns multiple items |
|
NormalizationType |
Specifies how to determine value span used to normalize scores |
|
|
PreviewData |
Samples of scoring function to show on graph in editor |
|
|
ReferenceValue |
When specified gets used to normalize test's results in such a way that the closer a value is to ReferenceValue the higher normalized result it will produce. |
|
|
ScoreClampMax |
Maximum value to use to normalize the raw test value before applying scoring formula. |
|
|
ScoreClampMin |
Minimum value to use to normalize the raw test value before applying scoring formula. |
|
|
TEnumAsByte< EE... |
ScoringEquation |
The shape of the curve equation to apply to the normalized score before multiplying by factor. |
|
ScoringFactor |
The weight (factor) by which to multiply the normalized score after the scoring equation is applied. |
|
|
TestComment |
Optional comment or explanation about what this test is for. |
|
|
TestOrder |
Number of test as defined in data asset |
|
|
TEnumAsByte< EE... |
TestPurpose |
The purpose of this test. Should it be used for filtering possible results, scoring them, or both? |
|
TSubclassOf< UE... |
ValidItemType |
Validation: item type that can be used with this test |
Name | Description | |
---|---|---|
|
UEnvQueryTest ( |
Name | Description | ||
---|---|---|---|
|
CanRunAsFinalCondition() |
||
|
DescribeBoolTestParams ( |
||
|
DescribeFloatTestParams() |
||
|
AActor * |
GetItemActor ( |
Helper: get actor from item |
|
AActor * |
GetItemActor ( |
Helper: get actor from item |
|
GetItemLocation ( |
Helper: get location of item |
|
|
GetItemLocation ( |
Helper: get location of item |
|
|
GetItemRotation ( |
Helper: get location of item |
|
|
GetItemRotation ( |
Helper: get location of item |
|
|
GetWorkOnFloatValues() |
||
|
IsContextPerItem ( |
Check if context needs to be updated for every item |
|
|
IsFiltering() |
||
|
IsScoring() |
||
|
IsSupportedItem ( |
Check if test supports item type |
|
|
NormalizeItemScores ( |
Normalize scores in range |
|
|
RunTest ( |
Function that does the actual work |
|
|
SetWorkOnFloatValues ( |
||
|
UpdatePreviewData() |
Update preview list |
Name | Description | ||
---|---|---|---|
|
UpdateNodeVersion() |
Update to latest version after spawning |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |