UAnimInstance::UpdateCurvesToEvaluationContext
#include "Animation/AnimInstance.h"
Access: public
Description
Pushes the instance's blended curve values into the given animation evaluation context, using the cached required-bones data.
Caveats & Gotchas
- • Internal engine plumbing called during animation evaluation; not exposed to Blueprint and rarely called directly outside custom anim instance proxy code.
- • Requires RecalcRequiredBones to have already run, since it relies on cached required-bones data to know which curves apply.
Signature
void UpdateCurvesToEvaluationContext(const FAnimationEvaluationContext& InOutContext) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InOutContext | const FAnimationEvaluationContext& | The evaluation context whose curve buffer receives the instance's blended heap curve. | — |
Return Type
void Example
Custom proxy pushing curves into an evaluation context C++
void FMyAnimInstanceProxy::Evaluate(FPoseContext& Output)
{
UAnimInstance* Instance = CastChecked<UAnimInstance>(GetAnimInstanceObject());
Instance->UpdateCurvesToEvaluationContext(EvaluationContext);
} Tags
Version History
Introduced in: 4.14
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?