UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UObjectMarks.cpp File Reference

Classes

struct  FObjectMark
 
struct  TIsPODType< FObjectMark >
 
class  FUObjectAnnotationSparseNoSync< TAnnotation >
 
class  FThreadMarkAnnotation
 

Functions

void MarkObject (const class UObjectBase *Object, EObjectMark Marks)
 
void UnMarkObject (const class UObjectBase *Object, EObjectMark Marks)
 
void MarkAllObjects (EObjectMark Marks)
 
void UnMarkAllObjects (EObjectMark Marks)
 
bool ObjectHasAnyMarks (const class UObjectBase *Object, EObjectMark Marks)
 
bool ObjectHasAllMarks (const class UObjectBase *Object, EObjectMark Marks)
 
EObjectMark ObjectGetAllMarks (const class UObjectBase *Object)
 
void GetObjectsWithAllMarks (TArray< UObject * > &Results, EObjectMark Marks)
 
void GetObjectsWithAnyMarks (TArray< UObject * > &Results, EObjectMark Marks)
 

Function Documentation

◆ GetObjectsWithAllMarks()

void GetObjectsWithAllMarks ( TArray< UObject * > &  Results,
EObjectMark  Marks 
)

Build an array of objects having ALL of a set of marks

Parameters
Resultsarray of objects which have any flag. This array is emptied before we add to it.
MarksLogical OR of OBJECTMARK_'s to test

◆ GetObjectsWithAnyMarks()

void GetObjectsWithAnyMarks ( TArray< UObject * > &  Results,
EObjectMark  Marks 
)

Build an array of objects having ANY of a set of marks

Parameters
Resultsarray of objects which have any flag. This array is emptied before we add to it.
MarksLogical OR of OBJECTMARK_'s to test

◆ MarkAllObjects()

void MarkAllObjects ( EObjectMark  Marks)

Adds marks to an ALL objects Note: Some objects, those not accessible via FObjectIterator, will not be marked

Parameters
MarksLogical OR of OBJECTMARK_'s to apply

◆ MarkObject()

void MarkObject ( const class UObjectBase Object,
EObjectMark  Marks 
)

Adds marks to an object

Parameters
ObjectObject to add marks to
MarksLogical OR of OBJECTMARK_'s to apply

◆ ObjectGetAllMarks()

EObjectMark ObjectGetAllMarks ( const class UObjectBase Object)

Returns all of the object marks on a specific object

Parameters
ObjectObject to get marks for
Returns
all Marks for an object

◆ ObjectHasAllMarks()

bool ObjectHasAllMarks ( const class UObjectBase Object,
EObjectMark  Marks 
)

Tests an object for having ALL of a set of marks

Parameters
ObjectObject to test marks on
MarksLogical OR of OBJECTMARK_'s to test
Returns
true if the object has any of the given marks.

◆ ObjectHasAnyMarks()

bool ObjectHasAnyMarks ( const class UObjectBase Object,
EObjectMark  Marks 
)

Tests an object for having ANY of a set of marks

Parameters
ObjectObject to test marks on
MarksLogical OR of OBJECTMARK_'s to test
Returns
true if the object has any of the given marks.

◆ UnMarkAllObjects()

void UnMarkAllObjects ( EObjectMark  Marks = OBJECTMARK_ALLMARKS)

Removes marks from ALL objects Note: Some objects, those not accessible via FObjectIterator, will not be marked

Parameters
MarksLogical OR of OBJECTMARK_'s to remove

◆ UnMarkObject()

void UnMarkObject ( const class UObjectBase Object,
EObjectMark  Marks 
)

Removes marks from and object

Parameters
ObjectObject to remove marks from
MarksLogical OR of OBJECTMARK_'s to remove