TypedElements.OutputRegistredTypeElementsToClipboard

TypedElements.OutputRegistredTypeElementsToClipboard

#Overview

name: TypedElements.OutputRegistredTypeElementsToClipboard

This variable is created as a Console Variable (cvar).

It is referenced in 1 C++ source file.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/Elements/Framework/EditorElements.cpp:85

Scope (from outer to inner):

file
function     void RegisterEditorElements

Source code excerpt:


	IConsoleManager::Get().RegisterConsoleCommand(
		TEXT("TypedElements.OutputRegistredTypeElementsToClipboard"),
		TEXT("Output a debug string to the clipboard and to the log./n\
			It contains the names of the Typed Elements registred and their Interfaces./n\
			For each Interface it also provide the path of the class that implements it."),
			FConsoleCommandDelegate::CreateLambda([]()
				{
					FString DebugString = UTypedElementRegistry::GetInstance()->RegistredElementTypesAndInterfacesToString();
					FPlatformApplicationMisc::ClipboardCopy(*DebugString);
					UE_LOG(LogTypedElementEditor, Log, TEXT("%s"), *DebugString);
				})
		);

	OnRegisterEditorElementsDelegate.Broadcast();
}