Files
UnrealEngineUWP/Engine/Source/Editor/AnimationEditor/Private/AnimationEditorCommands.h
Chris Gagnon 8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00

39 lines
1.1 KiB
C++

// Copyright 1998-2019 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;
};