![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MassEntityHandle.h>
Public Member Functions | |
| FMassEntityHandle ()=default | |
| FMassEntityHandle (const int32 InIndex, const int32 InSerialNumber) | |
| bool | operator== (const FMassEntityHandle Other) const |
| bool | operator!= (const FMassEntityHandle Other) const |
| bool | operator< (const FMassEntityHandle Other) const |
| bool | IsSet () const |
| bool | IsValid () const |
| void | Reset () |
| uint64 | AsNumber () const |
| FString | DebugGetDescription () const |
Static Public Member Functions | |
| static FMassEntityHandle | FromNumber (uint64 Value) |
Public Attributes | |
| int32 | Index = 0 |
| int32 | SerialNumber = 0 |
Friends | |
| uint32 | GetTypeHash (const FMassEntityHandle Entity) |
| FString | LexToString (const FMassEntityHandle Entity) |
A handle to a Mass entity. An entity is used in conjunction with the FMassEntityManager for the current world and can contain lightweight fragments.
|
default |
|
inline |
Allows the entity handle to be shared anonymously.
|
inline |
|
inlinestatic |
Reconstruct the entity handle from an anonymously shared integer.
|
inline |
Note that this function is merely checking if Index and SerialNumber are set. There's no way to validate if these indicate a valid entity in an EntitySubsystem without asking the system.
|
inline |
|
inline |
|
inline |
Has meaning only for sorting purposes
|
inline |
|
inline |
|
friend |
|
friend |
| int32 FMassEntityHandle::Index = 0 |
| int32 FMassEntityHandle::SerialNumber = 0 |