RealDocs

UAnimInstance::HasMorphTargetCurves

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

Description

Returns whether this instance currently has any active morph target curves.

Caveats & Gotchas

  • Reflects the instance's curve state at the time of the call, so it can flip between true and false across frames as morph curves are added or expire.
  • Not exposed to Blueprint; intended for engine-side checks such as deciding whether morph target data needs to be sent to the skeletal mesh component.

Signature

bool HasMorphTargetCurves() const

Return Type

bool

Example

Skip morph target work when none are active C++
if (AnimInstance->HasMorphTargetCurves())
{
    SkeletalMeshComponent->RefreshMorphTargets();
}

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.