RealDocs

UAnimInstance::Montage_StopWithBlendSettings

function Engine Blueprint Since 5.3
#include "Animation/AnimInstance.h"
Access: public Specifiers: UFUNCTIONBlueprintCallable

Description

Stops a montage with fully customized blend-out settings via FMontageBlendSettings, supporting BlendProfiles for per-bone weighting during blend-out.

Caveats & Gotchas

  • Like Montage_StopWithBlendOut, passing nullptr stops all active montages; use a specific montage reference when multiple montages are running.
  • If the montage is already in its natural blend-out phase (BlendOutTriggerTime reached), calling this will override the existing blend-out with the new settings mid-blend, which may cause a visible pop.

Signature

ENGINE_API void Montage_StopWithBlendSettings(const FMontageBlendSettings& BlendOutSettings, const UAnimMontage* Montage = nullptr);

Parameters

Name Type Description Default
BlendOutSettings const FMontageBlendSettings& Full montage blend settings for the blend-out phase.
Montage const UAnimMontage* The montage to stop. Pass nullptr to stop all active montages. nullptr

Return Type

void

Example

Stop a montage with a blend profile for per-bone falloff C++
FMontageBlendSettings BlendOut;
BlendOut.Blend.BlendTime = 0.3f;
BlendOut.BlendProfile = DeathBlendProfile;
AnimInstance->Montage_StopWithBlendSettings(BlendOut, DeathMontage);

Version History

Introduced in: 5.3

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.