CanStripEditorOnlyExportsAndImports
CanStripEditorOnlyExportsAndImports
#Overview
name: CanStripEditorOnlyExportsAndImports
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:1437, section: [Core.System]
- INI Section:
Core.System
- Raw value:
True
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/UObject/SavePackage/SavePackageUtilities.cpp:621
Scope (from outer to inner):
file
namespace UE::SavePackageUtilities
function bool IsStrippedEditorOnlyObject
function FCanStripEditorOnlyExportsAndImports
Source code excerpt:
: bCanStripEditorOnlyObjects(true)
{
GConfig->GetBool(TEXT("Core.System"), TEXT("CanStripEditorOnlyExportsAndImports"), bCanStripEditorOnlyObjects, GEngineIni);
}
FORCEINLINE operator bool() const { return bCanStripEditorOnlyObjects; }
} CanStripEditorOnlyExportsAndImports;
if (!CanStripEditorOnlyExportsAndImports)
{
return false;
}
return IsEditorOnlyObjectInternal(InObject, Flags);
#else
#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/UObject/SavePackage/SavePackageUtilities.h:376
Scope: file
Source code excerpt:
ENUM_CLASS_FLAGS(EEditorOnlyObjectFlags);
/** Returns result of IsEditorOnlyObjectInternal if Engine:[Core.System]:CanStripEditorOnlyExportsAndImports (ini) is set to true */
bool IsStrippedEditorOnlyObject(const UObject* InObject, EEditorOnlyObjectFlags Flags);
bool IsEditorOnlyObjectInternal(const UObject* InObject, EEditorOnlyObjectFlags Flags);
}