Files
UnrealEngineUWP/Engine/Source/Editor/AnimGraph/Public/AnimGraphCommands.h
YuchenMei 9b58593734 PR #5547: Hide Unrelated Nodes Blueprints Editor Feature (Contributed by YuchenMei)
#rb me

[CL 5112201 by Lauren Ridge in Dev-Editor branch]
2019-02-21 15:00:31 -05:00

28 lines
748 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Framework/Commands/Commands.h"
#include "EditorStyleSet.h"
/** Anim Graph Commands */
class ANIMGRAPH_API FAnimGraphCommands : public TCommands<FAnimGraphCommands>
{
public:
FAnimGraphCommands()
: TCommands<FAnimGraphCommands>(TEXT("AnimGraph"), NSLOCTEXT("Contexts", "AnimGraphCommands", "Anim Graph Commands"), NAME_None, FEditorStyle::GetStyleSetName())
{
}
virtual void RegisterCommands() override;
public:
// Toggle pose watching for a given node
TSharedPtr<FUICommandInfo> TogglePoseWatch;
// Toggle hiding nodes which are not related to the selected nodes
TSharedPtr< FUICommandInfo > ToggleHideUnrelatedNodes;
};