Files
UnrealEngineUWP/Engine/Source/Editor/AnimationEditor/Private/AnimationEditorCommands.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -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;
};