Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAnimSet
Description
See if we can play sequences from this AnimSet on the provided USkeletalMesh. Returns true if there is a bone in SkelMesh for every track in the AnimSet, or there is a track of animation for every bone of the SkelMesh.
| Name | CanPlayOnSkeletalMesh |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimSet.h |
| Include Path | #include "Animation/AnimSet.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimSet.cpp |
bool CanPlayOnSkeletalMesh
(
USkeletalMesh * SkelMesh
) const
true if animation set can play on supplied USkeletalMesh, false if not.
Parameters
| Name | Remarks |
|---|---|
| SkelMesh | USkeletalMesh to compare the AnimSet against. |