Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/UAnimNotifyStateMachineInspectio-
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimNotifyStateMachineInspectionLibrary.h |
| Include | #include "Animation/AnimNotifyStateMachineInspectionLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimNotifyStateMachineInspectionLibrary.cpp |
UFUNCTION (BlueprintPure, Category="Utilities|Animation|Notifies")
static bool IsTriggeredByState
(
const FAnimNotifyEventReference & EventReference,
UAnimInstance * AnimInstance,
FName StateName
)
Remarks
Get whether a state with the given name in any state machine triggered the notify
Parameters
| Name | Description |
|---|---|
| EventReference | The event to inspect |
| MeshComp | The skeletal mesh that contains the animation instance that produced the event |
| StateName | The name of a state to test |