UEnvQueryTest_Dot

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Protected variable

bool

 

bAbsoluteValue

If true, this test uses the absolute value of the dot product rather than the dot product itself.

Protected variable

FEnvDirection

 

LineA

Defines direction of first line used by test

Protected variable

FEnvDirection

 

LineB

Defines direction of second line used by test

Protected variable

EEnvTestDot

 

TestMode

Constructors

Name Description

Public function

UEnvQueryTest_Dot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Const

void

 

GatherLineDirections

(
    TArray< FVector >& Directions,
    FEnvQueryInstance& QueryInstance,
    const FRotator& ItemRotation,
    TSubclassOf< UEnvQueryContext > Lin...
)

Helper function: gather directions from context

Protected function Const

void

 

GatherLineDirections

(
    TArray< FVector >& Directions,
    FEnvQueryInstance& QueryInstance,
    const FVector& ItemLocation,
    TSubclassOf< UEnvQueryContext > Lin...,
    TSubclassOf< UEnvQueryContext > Lin...
)

Helper function: gather directions from context pairs

Protected function Const

void

 

GatherLineDirections

(
    TArray< FVector >& Directions,
    FEnvQueryInstance& QueryInstance,
    TSubclassOf< UEnvQueryContext > Lin...,
    TSubclassOf< UEnvQueryContext > Lin...,
    TSubclassOf< UEnvQueryContext > Lin...,
    bool bUseDirectionContext,
    const FVector& ItemLocation,
    const FRotator& ItemRotation
)

Helper function: gather directions from proper contexts

Protected function Const

bool

 

RequiresPerItemUpdates

(
    TSubclassOf< UEnvQueryContext > Lin...,
    TSubclassOf< UEnvQueryContext > Lin...,
    TSubclassOf< UEnvQueryContext > Lin...,
    bool bUseDirectionContext
)

Helper function: check if contexts are updated per item

Overridden from UEnvQueryTest

Name Description

Protected function Virtual Const

void

 

RunTest

(
    FEnvQueryInstance& QueryInstance
)

Function that does the actual work

Overridden from UEnvQueryNode

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss