You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- New "Size Map" feature that shows the resource size for selected assets in Content Browser - Select assets in Content Browser, right click and choose "Size Map..." to show sizes for those assets - Select actors and press Alt+Shift+M to show sizes of assets used by those actors - Select assets in Reference Viewer, right click and choose "Size Map..." to show sizes for those assets - Also added a new "Tree Map" general purpose Slate widget (STreeMap) [CL 2521609 by Mike Fricker in Main branch]
46 lines
1.5 KiB
C++
46 lines
1.5 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
// Actions that can be invoked in the reference viewer
|
|
class FReferenceViewerActions : public TCommands<FReferenceViewerActions>
|
|
{
|
|
public:
|
|
FReferenceViewerActions() : TCommands<FReferenceViewerActions>
|
|
(
|
|
"ReferenceViewer",
|
|
NSLOCTEXT("Contexts", "ReferenceViewer", "Reference Viewer"),
|
|
"MainFrame", FEditorStyle::GetStyleSetName()
|
|
)
|
|
{
|
|
}
|
|
|
|
// TCommands<> interface
|
|
virtual void RegisterCommands() override;
|
|
// End of TCommands<> interface
|
|
public:
|
|
|
|
// Opens the selected asset in the asset editor
|
|
TSharedPtr<FUICommandInfo> OpenSelectedInAssetEditor;
|
|
|
|
// Re-constructs the graph with the selected asset as the center
|
|
TSharedPtr<FUICommandInfo> ReCenterGraph;
|
|
|
|
// Shows a list of objects that the selected asset references.
|
|
TSharedPtr<FUICommandInfo> ListReferencedObjects;
|
|
|
|
// Lists objects that reference the selected asset.
|
|
TSharedPtr<FUICommandInfo> ListObjectsThatReference;
|
|
|
|
// Shows a size map for the selected asset.
|
|
TSharedPtr<FUICommandInfo> ShowSizeMap;
|
|
|
|
// Shows a reference tree for the selected asset.
|
|
TSharedPtr<FUICommandInfo> ShowReferenceTree;
|
|
|
|
// Creates a new collection with the list of assets that this asset references, user selects which ECollectionShareType to use.
|
|
TSharedPtr<FUICommandInfo> MakeLocalCollectionWithReferencedAssets;
|
|
TSharedPtr<FUICommandInfo> MakePrivateCollectionWithReferencedAssets;
|
|
TSharedPtr<FUICommandInfo> MakeSharedCollectionWithReferencedAssets;
|
|
};
|