跳到主要内容

restart 重新开始播放

restart

类型: MethodDeclaration

所属类: AnimationPlayer

定义位置: animation.ts

描述

重新开始播放

返回值

类型: void

源代码

位置: 第 164 行

public restart(): void {
this.index = 0
this.ended = false
}

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