Navigation
API > API/Editor > API/Editor/Kismet
Visual Diff between two Blueprints
| Name | SBlueprintDiff |
| Type | class |
| Header File | /Engine/Source/Editor/Kismet/Public/SBlueprintDiff.h |
| Include Path | #include "SBlueprintDiff.h" |
Syntax
class SBlueprintDiff : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SBlueprintDiff
- FSlateControlledConstruction → SWidget → SCompoundWidget → SBlueprintDiff
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SBlueprintDiff() |
SBlueprintDiff.h |
Classes
| Name | Remarks |
|---|---|
| FScopedCategorySortChange | To make diffing more accurate and friendly, UBlueprint::CategorySorting gets modified. |
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FDiffControl |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOpenInDefaults | TBaseDelegate_TwoParams< void, const class UBlueprint *, const class UBlueprint * > | SBlueprintDiff.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
SBlueprintDiff.h | ||
void OnBlueprintChanged
(
UBlueprint* InBlueprint |
Called when blueprint is modified | SBlueprintDiff.h | |
void OnDiffListSelectionChanged
(
TSharedPtr< struct FDiffResultItem > TheDiff |
Called when user clicks on an entry in the listview of differences | SBlueprintDiff.h | |
void OnGraphChanged
(
FGraphToDiff* Diff |
Called when a new Graph is clicked on by user | SBlueprintDiff.h | |
void OnGraphSelectionChanged
(
TSharedPtr< FGraphToDiff > Item, |
Called when user clicks on a new graph list item | SBlueprintDiff.h | |
virtual void Tick
(
const FGeometry& AllottedGeometry, |
SBlueprintDiff.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateGraphEntry
(
UEdGraph* GraphOld, |
Create a list item entry graph that exists in at least one of the blueprints | SBlueprintDiff.h | |
void DisablePinDiffFocus() |
Disable the focus on a particular pin | SBlueprintDiff.h | |
FGraphToDiff * FindGraphToDiffEntry
(
const FString& GraphPath |
Find the FGraphToDiff that displays the graph with GraphPath relative path | SBlueprintDiff.h | |
void FocusOnGraphRevisions
(
FGraphToDiff* Diff |
Bring these revisions of graph into focus on main display | SBlueprintDiff.h | |
FDiffControl GenerateBlueprintTypePanel() |
SBlueprintDiff.h | ||
FDiffControl GenerateClassSettingsPanel() |
SBlueprintDiff.h | ||
FDiffControl GenerateComponentsPanel() |
SBlueprintDiff.h | ||
FDiffControl GenerateDefaultsPanel() |
SBlueprintDiff.h | ||
void GenerateDifferencesList() |
Function used to generate the list of differences and the widgets needed to calculate that list | SBlueprintDiff.h | |
FDiffControl GenerateGeneralFileCommentEntries() |
SBlueprintDiff.h | ||
FDiffControl GenerateGraphPanel() |
SBlueprintDiff.h | ||
TSharedRef< SOverlay > GenerateGraphWidgetForPanel
(
FDiffPanel& OutDiffPanel |
SBlueprintDiff.h | ||
FDiffControl GenerateMyBlueprintPanel() |
SBlueprintDiff.h | ||
TSharedRef< SBox > GenerateRevisionInfoWidgetForPanel
(
TSharedPtr< SWidget >& OutGeneratedWidget, |
SBlueprintDiff.h | ||
FName GetCurrentMode() |
SBlueprintDiff.h | ||
FDiffPanel & GetDiffPanelForNode
(
UEdGraphNode& Node |
Get Graph editor associated with this Graph | SBlueprintDiff.h | |
FSlateIcon GetLockViewImage() |
Get the image to show for the toggle lock option | SBlueprintDiff.h | |
FSlateIcon GetSplitViewModeImage() |
Get the image to show for the toggle split view mode option | SBlueprintDiff.h | |
void HandleGraphChanged
(
FGraphToDiff* Diff |
Event handler that updates the graph view when user selects a new graph | SBlueprintDiff.h | |
bool HasNextDiff() |
Called to determine whether we have a list of differences to cycle through | SBlueprintDiff.h | |
bool HasPrevDiff() |
SBlueprintDiff.h | ||
bool IsGraphDiffNeeded
(
UEdGraph* InGraph |
Checks if a graph is valid for diffing | SBlueprintDiff.h | |
void NextDiff() |
Called when user clicks button to go to next difference | SBlueprintDiff.h | |
void OnCloseAssetEditor
(
UObject* Asset, |
Called when editor may need to be closed | SBlueprintDiff.h | |
void OnModeChanged
(
const FName& InNewViewMode |
SBlueprintDiff.h | ||
void OnToggleLockView() |
User toggles the option to lock the views between the two blueprints | SBlueprintDiff.h | |
void OnToggleSplitViewMode() |
User toggles the option to change the split view mode betwwen vertical and horizontal | SBlueprintDiff.h | |
void PrevDiff() |
Called when user clicks button to go to prev difference | SBlueprintDiff.h | |
void ResetGraphEditors() |
Reset the graph editor, called when user switches graphs to display | SBlueprintDiff.h | |
void SetCurrentMode
(
FName NewMode |
Accessor and event handler for toggling between diff view modes (defaults, components, graph view, interface, macro): | SBlueprintDiff.h | |
void UpdateTopSectionVisibility
(
const FName& InNewViewMode |
SBlueprintDiff.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< SWindow > CreateDiffWindow
(
FText WindowTitle, |
Helper function to create a window that holds a diff widget | SBlueprintDiff.h | |
static TSharedPtr< SWindow > CreateDiffWindow
(
const UBlueprint* OldBlueprint, |
Helper function to create a window that holds a diff widget that defaults a window title | SBlueprintDiff.h | |
static TSharedRef< SWidget > DefaultEmptyPanel() |
Helper function for generating an empty widget | SBlueprintDiff.h |