大约有 1,155 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(964) Laya3.0_api(61) Laya2.0_api(58) laya_api(58) Laya3.0_文档(6) Laya_示例(5) Laya2.0_文档(3)
...的距离进行旋转 (this.owner as Laya.Sprite3D).transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "...
来源: Laya_社区 发布时间: 20190605
...以后动画渲染时间变长,帧率变慢,是怎么回事? 我在一个sprite中添加了一个进度条,一个序列帧动画,一个图片,让这个sprite左右来回移动. 我的做法是启动frameLoop, 每帧移动3个像素. 结果是开始帧率在60,渲染时间保持在16, 过了大概15...
来源: Laya_社区 发布时间: 20180515
...示列表等 ) 不好的 laya改掉(去掉了bitmap 只保留精简的 sprite ) 啰嗦的 laya 改进(addEventListener removeEventListener 使用 Handler 可以在监听时传参 ) 一切都是那么用心 同学们 未来一定是属于laya的! 2018-12-18 4 条评论 免费帖...
来源: Laya_社区 发布时间: 20181218
...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...
来源: Laya_社区 发布时间: 20170714
...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...
来源: Laya_社区 发布时间: 20190224