![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "UObject/UObjectMarks.h"#include "UObject/ObjectMacros.h"#include "UObject/UObjectIterator.h"#include "UObject/GarbageCollectionGlobals.h"#include "UObject/ObjectVisibility.h"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) |
| void GetObjectsWithAllMarks | ( | TArray< UObject * > & | Results, |
| EObjectMark | Marks | ||
| ) |
Build an array of objects having ALL of a set of marks
| Results | array of objects which have any flag. This array is emptied before we add to it. |
| Marks | Logical OR of OBJECTMARK_'s to test |
| void GetObjectsWithAnyMarks | ( | TArray< UObject * > & | Results, |
| EObjectMark | Marks | ||
| ) |
Build an array of objects having ANY of a set of marks
| Results | array of objects which have any flag. This array is emptied before we add to it. |
| Marks | Logical OR of OBJECTMARK_'s to test |
| void MarkAllObjects | ( | EObjectMark | Marks | ) |
Adds marks to an ALL objects Note: Some objects, those not accessible via FObjectIterator, will not be marked
| Marks | Logical OR of OBJECTMARK_'s to apply |
| void MarkObject | ( | const class UObjectBase * | Object, |
| EObjectMark | Marks | ||
| ) |
Adds marks to an object
| Object | Object to add marks to |
| Marks | Logical OR of OBJECTMARK_'s to apply |
| EObjectMark ObjectGetAllMarks | ( | const class UObjectBase * | Object | ) |
Returns all of the object marks on a specific object
| Object | Object to get marks for |
| bool ObjectHasAllMarks | ( | const class UObjectBase * | Object, |
| EObjectMark | Marks | ||
| ) |
Tests an object for having ALL of a set of marks
| Object | Object to test marks on |
| Marks | Logical OR of OBJECTMARK_'s to test |
| bool ObjectHasAnyMarks | ( | const class UObjectBase * | Object, |
| EObjectMark | Marks | ||
| ) |
Tests an object for having ANY of a set of marks
| Object | Object to test marks on |
| Marks | Logical OR of OBJECTMARK_'s to test |
| void UnMarkAllObjects | ( | EObjectMark | Marks = OBJECTMARK_ALLMARKS | ) |
Removes marks from ALL objects Note: Some objects, those not accessible via FObjectIterator, will not be marked
| Marks | Logical OR of OBJECTMARK_'s to remove |
| void UnMarkObject | ( | const class UObjectBase * | Object, |
| EObjectMark | Marks | ||
| ) |
Removes marks from and object
| Object | Object to remove marks from |
| Marks | Logical OR of OBJECTMARK_'s to remove |