FEditorClassUtils::GetSourceLinkFormatted

Creates a link to the source code or blueprint for a given class formatted however you need.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorClassUtils.h

Include

#include "EditorClassUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorClassUtils.cpp

Syntax

namespace FEditorClassUtils
{
    TSharedRef< SWidget > FEditorClassUtils::GetSourceLinkFormatted
    (
        const UClass * Class,
        const TWeakObjectPtr< UObject > ObjectWeakPtr,
        const FText & BlueprintFormat,
        const FText & CodeFormat
    )
}

Remarks

Creates a link to the source code or blueprint for a given class formatted however you need. Example "Edit {0}"

Returns

Shared pointer to the constructed tooltip

Parameters

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.

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