ModelData:getAnimationKeyframeCount

Edit

Returns the number of keyframes in a channel of an animation.



Arguments

NameTypeDescription
indexnumber The index of an animation.
channelnumber The index of a channel in the animation.

Returns

NameTypeDescription
countnumber The number of keyframes in the channel.

Arguments

NameTypeDescription
namestring The name of an animation.
channelnumber The index of a channel in the animation.

Returns

NameTypeDescription
countnumber The number of keyframes in the channel.

See also