UBlendSpace::NotifyTriggerMode
#include "Animation/BlendSpace.h"
Access: public
Specifiers: UPROPERTYEditAnywhere
Description
Controls which contributing animations are allowed to fire anim notifies while blended: all of them, only the highest-weighted one, or none.
Caveats & Gotchas
- • Set to HighestWeightedAnimation to avoid notify spam (e.g. duplicate footstep sounds) when several samples with notifies overlap during a blend.
- • None suppresses notifies entirely for this blend space, which can silently break gameplay logic that depends on notify events (e.g. combo windows) if changed carelessly.
Signature
UPROPERTY(EditAnywhere, Category = AnimationNotifies) TEnumAsByte<ENotifyTriggerMode::Type> NotifyTriggerMode; Example
Only fire notifies from the dominant sample C++
MyBlendSpace->NotifyTriggerMode = ENotifyTriggerMode::HighestWeightedAnimation; Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?