Files
Cog/Source/CogSample/CogSampleAnimNotifyState.h
Arnaud Jamin 2f1361a412 CogEngine: Fix and improve Plot window
CogEngine: Fix and improve the Plot window
- Fix ImPlot assert
- Improve UI

CogSample:
-  Add Inputs and AnimNotify plot events
- Fix ability system warning
2025-01-11 00:31:53 -05:00

28 lines
896 B
C++

#pragma once
#include "CoreMinimal.h"
#include "Animation/AnimNotifies/AnimNotifyState.h"
#include "CogSampleAnimNotifyState.generated.h"
UCLASS()
class UCogSampleAnimNotifyState : public UAnimNotifyState
{
GENERATED_BODY()
public:
UCogSampleAnimNotifyState(const FObjectInitializer& ObjectInitializer);
UFUNCTION(BlueprintNativeEvent)
FString GetDebugInfo() const;
void NotifyBegin(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, float TotalDuration, const FAnimNotifyEventReference& EventReference) override;
void NotifyEnd(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, const FAnimNotifyEventReference& EventReference) override;
void BranchingPointNotifyBegin(FBranchingPointNotifyPayload& BranchingPointPayload) override;
void BranchingPointNotifyEnd(FBranchingPointNotifyPayload& BranchingPointPayload) override;
};