FMassEntityHandle

A handle to a lightweight entity.

Choose your operating system:

Windows

macOS

Linux

References

Module

MassEntity

Header

/Engine/Plugins/Runtime/MassEntity/Source/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 UMassEntitySubsystem for the current world and can contain lightweight fragments.

Variables

Name Description

Public variable UProperty Category Transient visibleanywhere

int32

 

Index

Public variable UProperty Category Transient visibleanywhere

int32

 

SerialNumber

Constructors

Name Description

Public function

FMassEntityHandle()

Public function

FMassEntityHandle

(
    const int32 InIndex,
    const int32 InSerialNumber
)

Functions

Name Description

Public function Const

FString

 

DebugGetDescription()

Public function Const

bool

 

IsSet()

That this function is merely checking if Index and SerialNumber are set.

Public function Const

bool

 

IsValid()

Public function

void

 

Reset()

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FMassEntityHandle Other
)

Public function Const

bool

 

operator==

(
    const FMassEntityHandle Other
)