UAnimInstance::PlaySlotAnimation

Deprecated

  • This function is deprecated, please use PlaySlotAnimationAsDynamicMontage instead.

Syntax

float PlaySlotAnimation
(
    UAnimSequenceBase * Asset,
    FName SlotNodeName,
    float BlendInTime,
    float BlendOutTime,
    float InPlayRate,
    int32 LoopCount
)

Remarks

DEPRECATED. Use PlaySlotAnimationAsDynamicMontage instead, it returns the UAnimMontage created instead of time, allowing more control Play normal animation asset on the slot node. You can only play one asset (whether montage or animsequence) at a time.

References

Module

Engine

Header

Runtime/Engine/Classes/Animation/AnimInstance.h

Source

Runtime/Engine/Private/Animation/AnimInstance.cpp