Files
UnrealEngine/Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineEditor/Private/MoviePipelineCommands.cpp
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

23 lines
951 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MoviePipelineCommands.h"
#include "MovieRenderPipelineStyle.h"
#define LOCTEXT_NAMESPACE "MoviePipelineCommands"
FMoviePipelineCommands::FMoviePipelineCommands()
: TCommands<FMoviePipelineCommands>("MovieRenderPipeline", LOCTEXT("MoviePipelineCommandsLabel", "Movie Pipeline"), NAME_None, FMovieRenderPipelineStyle::StyleName)
{
}
void FMoviePipelineCommands::RegisterCommands()
{
UI_COMMAND(ResetStatus, "ResetStatus", "Reset Status", EUserInterfaceActionType::Button, FInputChord(EModifierKey::Control | EModifierKey::Shift, EKeys::R));
// Graph commands
UI_COMMAND(ZoomToWindow, "Zoom to Graph Extents", "Fit the current view to the entire graph", EUserInterfaceActionType::Button, FInputChord());
UI_COMMAND(ZoomToSelection, "Zoom to Selection", "Fit the current view to the selection", EUserInterfaceActionType::Button, FInputChord(EKeys::Home));
}
#undef LOCTEXT_NAMESPACE