EM_Task/UnrealEd/Classes/Animation/EditorNotifyObject.h

33 lines
1005 B
C
Raw Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
//////////////////////////////////////////////////////////////////////////
// Proxy object for displaying notifies in the details panel with
// event data included alongside UAnimNotify
//////////////////////////////////////////////////////////////////////////
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Animation/AnimTypes.h"
#include "Animation/EditorAnimBaseObj.h"
#include "EditorNotifyObject.generated.h"
UCLASS(MinimalAPI)
class UEditorNotifyObject: public UEditorAnimBaseObj
{
GENERATED_UCLASS_BODY()
/** Set up the editor object
* @param InNotify The notify to modify
*/
virtual void InitialiseNotify(const FAnimNotifyEvent& InNotify);
/** Copy changes made to the event object back to the montage asset */
virtual bool ApplyChangesToMontage() override;
/** The notify event to modify */
UPROPERTY(EditAnywhere, Category = Event)
FAnimNotifyEvent Event;
};