Files
UnrealEngineUWP/Engine/Source/Editor/SizeMap/SizeMapActions.h
Mike Fricker 403a84fcfa Asset Size Mapper tool
- 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]
2015-04-22 15:58:21 -04:00

27 lines
574 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
// Actions that can be invoked in the Size Map
class FSizeMapActions : public TCommands<FSizeMapActions>
{
public:
FSizeMapActions() : TCommands<FSizeMapActions>
(
"SizeMap",
NSLOCTEXT("Contexts", "SizeMap", "Size Map"),
"MainFrame", FEditorStyle::GetStyleSetName()
)
{
}
// TCommands<> interface
virtual void RegisterCommands() override;
// End of TCommands<> interface
public:
// @todo sizemap: Register any commands we have here
// TSharedPtr<FUICommandInfo> DoSomething;
};