FAssetEditorManager::CloseAllEditorsForAsset

Close all active editors for the supplied asset and return the number of asset editors that were closed

Windows
MacOS
Linux

Deprecated

  • Use the matching function on AssetEditorSubsystem instead.

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Toolkits/AssetEditorManager.h

Include

#include "Toolkits/AssetEditorManager.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Toolkits/AssetEditorManager.cpp

Syntax

int32 CloseAllEditorsForAsset
(
    UObject * Asset
)

Remarks

Close all active editors for the supplied asset and return the number of asset editors that were closed

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss