大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0085 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...ata=>{ let aaa = new Laya.Sprite(); this.addChild(aaa); aaa.x = 100; aaa.y = 100; aaa.texture = data.frames[0]; let bbb = new Laya.Sprite(); this.addChild(bbb); ...
来源: Laya_社区 发布时间: 20250801
...释掉下面这几行 line:11045 //image.crossOrigin=""; line:17497 //this._source.crossOrigin=""; line:17480 if (src.indexOf("data:image")!=0)this._source.crossOrigin=""; 仅供参考,没有详细研究,不知道会不会引发其他bug,希望对大家有帮助 2017-02-04 添加评...
来源: Laya_社区 发布时间: 20170204
...23-02-20 08:18 window10 x64 仓颉 • 2023-02-20 08:33 跟Rabbit.ts中的 this.camera.viewportPointToRay(point, this.ray); 这个有关系 LayaAir3 • 2023-02-20 14:32 @仓颉:已经重现了,问题是Laya.Vector3.ZERO被修改了 把代码 var ray:Laya.Ray = new Laya.Ray(Laya.Vector3.ZERO,Laya....
来源: Laya_社区 发布时间: 20230216
... 2 个回复 xueLayaBox - 爱学习 赞同来自: Laya.timer.frameLoop(1, this, this.resetPosition); resetPosition(): void { var aniMonkey: Laya.Sprite3D = scene.getChildByName("monkey") as Laya.Sprite3D; aniMonkey.transform.position = new Laya.Vector3(math,math,math); } Laya.Tween.to(aniM...
来源: Laya_社区 发布时间: 20180117
...c onUpdate(){ var seed = Laya.timer.currTimer * 0.002; for (var i = 0, n = this.lights.length; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.s...
来源: Laya2.0_文档 发布时间: 20210715
...c onUpdate(){ var seed = Laya.timer.currTimer * 0.002; for (var i = 0, n = this.lights.length; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.s...
来源: Laya2.0_文档 发布时间: 20210715
..., 2、在LayaAirIDE根目录\resources\app\out找到main.js,打开在this.app.once("ready"上面加一行: this.app.commandLine.appendSwitch("ignore-gpu-blacklist"); 保存,重启IDE再试试 3、如果以上还没解决,请百度搜索,如何强制开启webgl 2019-12-06 0 0 分享 微...
来源: Laya_社区 发布时间: 20191205
...|| (caller.$_GID=Utils.getGID()):0; var mid=method.$_TID || (method.$_TID=(this._mid++)*100000); return this._map[cid+mid]; } 请教一下大家,有遇到过这个问题吗?请问怎么解决? 2018-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20180520
... • 2019-02-28 10:22 是的,Laya.loader.load(resURL,Laya.Handler.create(this,this.afterLoadAllRes)); resURL 里经常有多个资源,都加载完了再调用的afterLoadAllRes干别的事情,为的是一些界面的绘制能够完整 王亚飞 • 2019-09-05 13:29 :楼主解决了吗
来源: Laya_社区 发布时间: 20190227
...这样调用 Laya.loader.load("res/MainBlood.atlas", Laya.Handler.create(this, this.onAtlasLoaded), null, Laya.Loader.ATLAS); 卸载时这样 Laya.loader.clearRes("res/MainBlood.atlas");在Laya.Loader.loadedMap里查找是没有了,但是统计面板的CurMem降不下来,工程已经打包上传...
来源: Laya_社区 发布时间: 20180305