Files
UnrealEngineUWP/Engine/Source/Editor/AnimationModifiers/Private/AnimationModifiersModule.h
Jurre deBaare be38ae281c - Added button to Anim Modifiers details customizations to apply all instances of its class to their outer AnimSequences
- Added context menu entry to AnimationSequence asset actions to apply all contained animation modifiers
#rb Thomas.Sarkanen
#preflight 604f343a23863e000183d66b

[CL 15694950 by Jurre deBaare in ue5-main branch]
2021-03-15 06:52:40 -04:00

35 lines
1.4 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "IAnimationModifiersModule.h"
#include "WorkflowOrientedApp/ApplicationMode.h"
#include "WorkflowOrientedApp/WorkflowCentricApplication.h"
#include "WorkflowOrientedApp/WorkflowTabFactory.h"
/** Animation modifiers module, handles injecting of the AnimationModifiersTab into animation and skeleton editor modes */
class FAnimationModifiersModule : public IAnimationModifiersModule
{
public:
/** Called right after the module DLL has been loaded and the module object has been created */
virtual void StartupModule() override;
/** Called before the module is unloaded, right before the module object is destroyed */
virtual void ShutdownModule() override;
/** Begin IAnimationModifiersModule overrides */
virtual void ShowAddAnimationModifierWindow(const TArray<UAnimSequence*>& InSequences) override;
virtual void ApplyAnimationModifiers(const TArray<UAnimSequence*>& InSequences) override;
/** End IAnimationModifiersModule overrides */
protected:
/** Callback for extending an application mode */
TSharedRef<FApplicationMode> ExtendApplicationMode(const FName ModeName, TSharedRef<FApplicationMode> InMode);
/** Weak list of application modes for which a tab factory was registered */
TArray<TWeakPtr<FApplicationMode>> RegisteredApplicationModes;
FWorkflowApplicationModeExtender Extender;
};