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