跳到主要内容

getDuration 获取动画动作持续时间

getDuration

类型: MethodDeclaration

所属类: AnimationPlayer

定义位置: animation.ts

描述

获取动画动作持续时间

返回值:毫秒

返回值

类型: number

毫秒

源代码

位置: 第 267 行

public getDuration(): number {
return this.length * AnimationPlayer.step
}

文档生成时间:2025/7/7 12:07:06