Files
UnrealEngineUWP/Engine/Source/Editor/AnimationModifiers/Public/IAnimationModifiersModule.h
roland munguia 8c921bf410 Add support for removing (and optionally also reverting) Animation Modifier(s) from a selection of Anim Sequences in the content browser.
- Added `SRemoveAnimationModifierContentBrowserWindow` widget.
- Added `ShowRemoveAnimationModifierWindow` virtual method to `IAnimationModifiersModule`.
- Added `OnSelectionChanged` delegate to SModifierListView.
- Fixed AnimationModifiersModule not properly unsubscribing its delegates bound to` UObject::FAssetRegistryTag::OnGetExtraObjectTags`.

[RN] minor

[CL 27857700 by roland munguia in ue5-main branch]
2023-09-13 18:50:59 -04:00

22 lines
900 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Modules/ModuleInterface.h"
#include "Containers/Array.h"
class UAnimSequence;
class IAnimationModifiersModule : public IModuleInterface
{
public:
/** Shows a new modal dialog allowing the user to setup Animation Modifiers to be added for all AnimSequences part of InSequences */
virtual void ShowAddAnimationModifierWindow(const TArray<UAnimSequence*>& InSequences) = 0;
/** Shows a new modal dialog allowing the user to setup Animation Modifiers to be removed for all AnimSequences part of InSequences */
virtual void ShowRemoveAnimationModifierWindow(const TArray<UAnimSequence*>& InSequences) = 0;
/** Apply animation modifiers contained by provided Animation Sequences to its respective outers */
virtual void ApplyAnimationModifiers(const TArray<UAnimSequence*>& InSequences, bool bForceApply = true) = 0;
};