UAnimSet::CanPlayOnSkeletalMesh

See if we can play sequences from this AnimSet on the provided [USkeletalMesh](API\Runtime\Engine\Engine\USkeletalMesh).

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/AnimSet.h"

Source

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

Syntax

bool CanPlayOnSkeletalMesh
(
    USkeletalMesh * SkelMesh
) const

Remarks

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.

Returns

true if animation set can play on supplied USkeletalMesh, false if not.

Parameters

Parameter

Description

SkelMesh

USkeletalMesh to compare the AnimSet against.

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