Navigation
API > API/Runtime > API/Runtime/MassEntity
References
| Module | MassEntity |
| Header | /Engine/Source/Runtime/MassEntity/Public/MassEntityTypes.h |
| Include | #include "MassEntityTypes.h" |
Syntax
USTRUCT ()
struct FMassEntityHandle
Remarks
A handle to a lightweight entity. An entity is used in conjunction with the FMassEntityManager for the current world and can contain lightweight fragments.
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMassEntityHandle
(
const int32 InIndex, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint64 | AsNumber () |
Allows the entity handle to be shared anonymously. | |
| FString | |||
| FMassEntityHandle | FromNumber
(
uint64 Value |
Reconstruct the entity handle from an anonymously shared integer. | |
| bool | IsSet () |
Note that this function is merely checking if Index and SerialNumber are set. | |
| bool | IsValid () |
||
| void | Reset () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FMassEntityHandle Other |
||
| bool | operator<
(
const FMassEntityHandle Other |
Has meaning only for sorting purposes | |
| bool | operator==
(
const FMassEntityHandle Other |