UAnimInstance::PlaySlotAnimationAsDynamicMontage

Play normal animation asset on the slot node by creating a dynamic [UAnimMontage](API\Runtime\Engine\Animation\UAnimMontage).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimInstance.h

Include

#include "Animation/AnimInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimInstance.cpp

Syntax

UAnimMontage * PlaySlotAnimationAsDynamicMontage
(
    UAnimSequenceBase * Asset,
    FName SlotNodeName,
    float BlendInTime,
    float BlendOutTime,
    float InPlayRate,
    int32 LoopCount,
    float BlendOutTriggerTime,
    float InTimeToStartMontageAt
)

Remarks

Play normal animation asset on the slot node by creating a dynamic UAnimMontage. You can only play one asset (whether montage or animsequence) at a time per SlotGroup.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss