API 参考animation 模块getCurrentTime 获取动画当前播放时间本页总览getCurrentTime 获取动画当前播放时间getCurrentTime 类型: MethodDeclaration 所属类: AnimationPlayer 定义位置: animation.ts 描述 获取动画当前播放时间 返回值:毫秒 返回值 类型: number 毫秒 源代码 位置: 第 259 行 public getCurrentTime(): number { return this.index * AnimationPlayer.step } 文档生成时间:2025/7/7 12:07:06