Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/IsEditorOnlyObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/SavePackage/SavePackageUtilities.cpp |
bool IsEditorOnlyObject
(
const UObject * InObject,
bool bCheckRecursive
)
Remarks
Returns if true if the object is editor-only:
- it's a package marked as PKG_EditorOnly or inside one or
- IsEditorOnly returns true or
- if bCheckMarks is true, if it has the EditorOnly object mark or
- if bCheckRecursive is true, if its class, super struct, outer, or archetypes are editor only