FEnvQueryResult

Windows
MacOS
Linux

Inheritance Hierarchy

FEnvQueryResult

FEnvQueryInstance

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/EnvQueryTypes.h

Include

#include "EnvironmentQuery/EnvQueryTypes.h"

Syntax

struct FEnvQueryResult

Variables

Name Description

Public variable

TArray< FEnvQue...

 

Items

Public variable

TSubclassOf< UE...

 

ItemType

Type of generated items

Public variable

int32

 

OptionIndex

Index of query option, that generated items

Public variable

TWeakObjectPtr<...

 

Owner

Instance owner.

Public variable

int32

 

QueryID

Instance ID

Public variable

TArray< uint8 >

 

RawData

Raw data of items

Constructors

Name Description

Public function

FEnvQueryResult()

Public function

FEnvQueryResult

(
    const EEnvQueryStatus::Type& InSta...
)

Functions

Name Description

Public function Const

void

 

GetAllAsActors

(
    TArray< AActor* >& OutActors
)

Note that this function does not strip out the null-actors to not mess up results of GetItemScore(Index) calls

Public function Const

void

 

GetAllAsLocations

(
    TArray< FVector >& OutLocations
)

Public function Const

AActor *

 

GetItemAsActor

(
    int32 Index
)

Item accessors for basic types

Public function Const

FVector

 

GetItemAsLocation

(
    int32 Index
)

Public function Const

float

 

GetItemScore

(
    int32 Index
)

Public function Const

EEnvQuerySta...

 

GetRawStatus()

Public function Const

bool

 

IsAborted()

Public function Const

bool

 

IsFinished()

Public function Const

bool

 

IsSuccsessful()

Public function

void

 

MarkAsAborted()

Public function

void

 

MarkAsFailed()

Public function

void

 

MarkAsFinishedWithoutIssues()

Public function

void

 

MarkAsMissingParam()

Public function

void

 

MarkAsOwnerLost()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback