updateSpriteFrame 更新精灵帧
updateSpriteFrame
类型: MethodDeclaration
所属类: ParticleElement
定义位置: animation.ts
描述
更新精灵帧
返回值
类型: void
源代码
位置: 第 2211 行
private updateSpriteFrame() {
this.spriteX = this.spriteFrame % this.spriteHframes
this.spriteY = Math.floor(this.spriteFrame / this.spriteHframes)
}
文档生成时间:2025/7/7 12:07:06