Navigation
API > API/Runtime > API/Runtime/MassEntity
A MassEntityQuery wrapper with type-safe data access.
| Name | FQueryExecutor |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassQueryExecutor.h |
| Include Path | #include "MassQueryExecutor.h" |
Syntax
struct FQueryExecutor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MassQueryExecutor.h | |||
FQueryExecutor
(
FMassEntityQuery& InQuery, |
MassQueryExecutor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FQueryExecutor() |
MassQueryExecutor.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DummyQuery | FMassEntityQuery | MassQueryExecutor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccessorsPtr | FQueryDefinitionBase * | AccessorsPtr is only allowed to point to a member variable of this struct and will assert in all other cases. | MassQueryExecutor.h | |
| BoundQuery | TNotNull< FMassEntityQuery * > | MassQueryExecutor.h | ||
| DebugSize | uint32 | MassQueryExecutor.h | ||
| LogOwner | TWeakObjectPtr< UObject > | MassQueryExecutor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Execute
(
FMassExecutionContext& Context |
Override with logic to perform against the entities returned by this query. | MassQueryExecutor.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachEntity
(
FMassExecutionContext& ExecutionContext, |
MassQueryExecutor.h | ||
void ForEachEntityChunk
(
FMassExecutionContext& ExecutionContext, |
MassQueryExecutor.h | ||
UObject * GetLogOwner() |
MassQueryExecutor.h | ||
void ParallelForEachEntity
(
FMassExecutionContext& ExecutionContext, |
MassQueryExecutor.h | ||
void ParallelForEachEntityChunk
(
FMassExecutionContext& ExecutionContext, |
MassQueryExecutor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< T > CreateQuery
(
FMassEntityQuery& InQuery, |
MassQueryExecutor.h |