UAnimInstance::SetReceiveNotifiesFromLinkedInstances
#include "Animation/AnimInstance.h"
Access: public
Specifiers: BlueprintCallableUFUNCTION
Description
Controls whether this anim instance processes animation notifies fired by its linked child anim instances. Enable this when a parent anim graph needs to respond to events generated in a child layer.
Caveats & Gotchas
- • This is a runtime toggle — you can switch it on or off mid-play. However, any notify that already fired while the flag was false will not be replayed when you enable it.
- • Enabling this on an instance with many linked children can increase notify processing overhead each frame, particularly when the linked instances fire frequent notifies.
Signature
void SetReceiveNotifiesFromLinkedInstances(bool bSet) { bReceiveNotifiesFromLinkedInstances = bSet; } Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| bSet | bool | True to allow this instance to process notifies from linked child instances. | — |
Return Type
void Example
Enable linked notify reception on init C++
void UMyAnimInstance::NativeInitializeAnimation()
{
Super::NativeInitializeAnimation();
// Allow child layer notifies to reach this instance
SetReceiveNotifiesFromLinkedInstances(true);
} See Also
Tags
Version History
Introduced in: 4.24
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?