Files
UnrealEngineUWP/Engine/Source/Editor/AnimationEditor/Private/AnimationEditorCommands.h
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

39 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Framework/Commands/Commands.h"
#include "EditorStyleSet.h"
class FAnimationEditorCommands : public TCommands<FAnimationEditorCommands>
{
public:
FAnimationEditorCommands()
: TCommands<FAnimationEditorCommands>(TEXT("AnimationEditor"), NSLOCTEXT("Contexts", "AnimationEditor", "Animation Editor"), NAME_None, FEditorStyle::GetStyleSetName())
{
}
virtual void RegisterCommands() override;
public:
// import animation
TSharedPtr<FUICommandInfo> ImportAnimation;
// reimport animation
TSharedPtr<FUICommandInfo> ReimportAnimation;
// apply compression
TSharedPtr<FUICommandInfo> ApplyCompression;
// export to FBX
TSharedPtr<FUICommandInfo> ExportToFBX_AnimData;
// export to FBX
TSharedPtr<FUICommandInfo> ExportToFBX_PreviewMesh;
// Add looping interpolation
TSharedPtr<FUICommandInfo> AddLoopingInterpolation;
// set key for bone track
TSharedPtr<FUICommandInfo> SetKey;
// bake bone track curves to animation
TSharedPtr<FUICommandInfo> ApplyAnimation;
// Remove bone tracks
TSharedPtr<FUICommandInfo> RemoveBoneTracks;
};