UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimNotifyStateMachineInspectionLibrary.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
8#include "AnimNotifyStateMachineInspectionLibrary.generated.h"
9
11class USkeletalMeshComponent;
15UCLASS(meta = (ScriptName = "UAnimNotifyStateMachineInspectionLibrary"), MinimalAPI)
17{
19public:
26 UFUNCTION(BlueprintPure, Category = "Utilities|Animation|Notifies")
27 static ENGINE_API bool IsTriggeredByStateMachine(const FAnimNotifyEventReference& EventReference,UAnimInstance* AnimInstance, FName StateMachineName);
28
36 UFUNCTION(BlueprintPure, Category = "Utilities|Animation|Notifies")
37 static ENGINE_API bool IsTriggeredByStateInStateMachine(const FAnimNotifyEventReference& EventReference, UAnimInstance* AnimInstance, FName StateMachineName, FName StateName);
38
45 UFUNCTION(BlueprintPure, Category = "Utilities|Animation|Notifies")
46 static ENGINE_API bool IsTriggeredByState(const FAnimNotifyEventReference& EventReference, UAnimInstance* AnimInstance, FName StateName);
47
53 static ENGINE_API bool IsStateMachineInEventContext(const FAnimNotifyEventReference& Reference, int32 StateMachineIndex);
54
61 static ENGINE_API bool IsStateInStateMachineInEventContext(const FAnimNotifyEventReference& Reference, int32 StateMachineIndex, int32 StateIndex);
62};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition NameTypes.h:617
Definition AnimInstance.h:353
Definition AnimNotifyStateMachineInspectionLibrary.h:17
Definition BlueprintFunctionLibrary.h:16
Definition AnimNotifyQueue.h:22