ModelData:getAnimationProperty

Returns the property targeted by an animation's channel.


property = ModelData:getAnimationProperty(index, channel)

Arguments

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

Returns

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

property = ModelData:getAnimationProperty(name, channel)

Arguments

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

Returns

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

See also