RealDocs

UAnimInstance::HasActiveCurves

function Engine Since 4.14
#include "Animation/AnimInstance.h"
Access: public Specifiers: const

Description

Returns whether this instance currently has any active curves of any kind, not just morph target curves.

Caveats & Gotchas

  • Broader than HasMorphTargetCurves — it also counts material and attribute curves, so it can be true even when HasMorphTargetCurves is false.
  • Not exposed to Blueprint; used internally to short-circuit curve processing when there is nothing to do.

Signature

bool HasActiveCurves() const

Return Type

bool

Example

Guard curve processing on active state C++
if (AnimInstance->HasActiveCurves())
{
    AnimInstance->UpdateCurvesPostEvaluation();
}

Version History

Introduced in: 4.14

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.