ModelData:getAnimationChannelCount

Returns the number of channels in an animation.

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


count = ModelData:getAnimationChannelCount(index)

Arguments

NameTypeDescription
indexnumber The index of an animation.

Returns

NameTypeDescription
countnumber The number of channels in the animation.

count = ModelData:getAnimationChannelCount(name)

Arguments

NameTypeDescription
namestring The name of an animation.

Returns

NameTypeDescription
countnumber The number of channels in the animation.

See also