getDuration 获取动画动作持续时间
getDuration
类型: MethodDeclaration
所属类: AnimationPlayer
定义位置: animation.ts
描述
获取动画动作持续时间
返回值:毫秒
返回值
类型: number
毫秒
源代码
位置: 第 269 行
public getDuration(): number {
return this.length * AnimationPlayer.step
}
文档生成时间:2026/2/1 16:51:38