Language:
Discover
By Skill Level
By Category

FEditorClassUtils::GetSourceLinkFormatted

Choose your OS:

Syntax

namespace FEditorClassUtils
{
    [UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)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}"

Shared pointer to the constructed tooltip

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.

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorClassUtils.h

Source

Editor/UnrealEd/Private/EditorClassUtils.cpp