Module |
|
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::GetSourceLinkFormatted
(
const UClass * Class,
const TWeakObjectPtr< UObject > ObjectWeakPtr,
const FText & BlueprintFormat,
const FText & CodeFormat
)
}
Creates a link to the source code or blueprint for a given class formatted however you need. Example "Edit {0}"
Shared pointer to the constructed tooltip
Parameter |
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. |