Deprecated
This function is deprecated, please use PlaySlotAnimationAsDynamicMontage instead.
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/AnimInstance.h |
Include |
#include "Animation/AnimInstance.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/AnimInstance.cpp |
float PlaySlotAnimation
(
UAnimSequenceBase
* Asset,
FName
SlotNodeName,
float BlendInTime,
float BlendOutTime,
float InPlayRate,
int32
LoopCount
)
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.