Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/EnvironmentQuery > API/Runtime/AIModule/EnvironmentQuery/Tests
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEnvQueryNode
- UEnvQueryTest
- UEnvQueryTest_Dot
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/Tests/EnvQueryTest_Dot.h |
| Include | #include "EnvironmentQuery/Tests/EnvQueryTest_Dot.h" |
Syntax
class UEnvQueryTest_Dot : public UEnvQueryTest
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAbsoluteValue | If true, this test uses the absolute value of the dot product rather than the dot product itself. | |
| FEnvDirection | LineA | Defines direction of first line used by test | |
| FEnvDirection | LineB | Defines direction of second line used by test | |
| EEnvTestDot | TestMode |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UEnvQueryTest_Dot
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GatherLineDirections
(
TArray< FVector >& Directions, |
Helper function: gather directions from context | |
| void | GatherLineDirections
(
TArray< FVector >& Directions, |
Helper function: gather directions from context pairs | |
| void | GatherLineDirections
(
TArray< FVector >& Directions, |
Helper function: gather directions from proper contexts | |
| bool | RequiresPerItemUpdates
(
TSubclassOf< UEnvQueryContext > LineFrom, |
Helper function: check if contexts are updated per item |
Overridden from UEnvQueryTest
| Type | Name | Description | |
|---|---|---|---|
| void | RunTest
(
FEnvQueryInstance& QueryInstance |
Function that does the actual work |