Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorClassUtils.h |
| Include | #include "EditorClassUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorClassUtils.cpp |
namespace FEditorClassUtils
{
TSharedRef< SWidget > FEditorClassUtils&58;&58;GetSourceLinkFormatted
&40;
const UClass &42; Class,
const TWeakObjectPtr< UObject > ObjectWeakPtr,
const FText & BlueprintFormat,
const FText & CodeFormat
&41;
}
Remarks
Creates an hyperlink to the source code or blueprint for a given class formatted however you need. Example "Edit {0}" (or a spacer if the link is unavailable for some reason) Shared pointer to the constructed widget
Parameters
| Name | Description |
|---|---|
| Class | Class we want to build a link for |
| ObjectWeakPtr | Optional object to set blueprint debugging to in the case we are choosing a blueprint |
| BlueprintFormat | The text format for blueprint links |
| CodeFormat | The text format for C++ code file links |