ModelData:getAnimationProperty

Edit

Returns the property targeted by an animation's channel.

property = ModelData:getAnimationProperty(animation, channel)

Arguments

NameTypeDescription
animationstring | number The name or index of an animation.
channelnumber The index of a channel in the animation.

Returns

NameTypeDescription
propertyAnimationProperty The property (translation, rotation, scale, or weights) affected by the keyframes.

See also