ModelData:getAnimationChannelCount

Edit

Returns the number of channels in an animation.

A channel is a set of keyframes targeting a single property of a node.

count = ModelData:getAnimationChannelCount(animation)

Arguments

NameTypeDescription
animationnumber | string The name or index of an animation.

Returns

NameTypeDescription
countnumber The number of channels in the animation.

See also