UAnimInstance::IsPostUpdatingAnimation
#include "Animation/AnimInstance.h"
Access: public
Specifiers: const
Description
Returns true if the anim instance is currently in the post-update phase of its animation tick. Useful for determining the current stage of the animation pipeline when debugging or when code behavior needs to differ based on the update phase.
Caveats & Gotchas
- • This is a state query for the animation update pipeline phase — it is only true during the narrow window of post-update processing. Calling it outside the animation tick will always return false.
- • Primarily useful for internal engine code and debugging. Gameplay code rarely needs to branch on this — if you find yourself checking this frequently, consider restructuring to use the appropriate lifecycle event instead.
Signature
bool IsPostUpdatingAnimation() const Return Type
bool Example
Guard logic to post-update phase C++
void UMyAnimInstance::SomeInternalUpdate()
{
if (IsPostUpdatingAnimation())
{
// Safe to read final pose data
ApplyProceduralAdjustments();
}
} Tags
Version History
Introduced in: 4.15
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?