ModelData:getAnimationDuration
EditReturns the duration of an animation.
Arguments
Name | Type | Description |
index | number | The index of the animation. |
Returns
Name | Type | Description |
duration | number | The duration of the animation, in seconds. |
Arguments
Name | Type | Description |
name | string | The name of the animation. |
Returns
Name | Type | Description |
duration | number | The duration of the animation, in seconds. |
Notes
The duration of the animation is calculated as the latest timestamp of all of its channels.