大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...al = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load(textureUrl); instance.meshRender.material = material; instance.meshRender.castShadow = true; instance.meshRender.receiveShadow = true; instance.volume = { 'x': x, 'y': y, 'z': z } prevBox = currentCube; currentCube = ins...
来源: Laya_社区 发布时间: 20180402
调用 Laya.MiniAdpter.downLoadFile缓存文件之后。再调用Laya.loader.create,不会自动去读取缓存文件 请问关于场景如果加载已经缓存的。官方有一篇文章是介绍微信物理缓存的。只是说downLoadFile之后,会缓存起来,我一直天真的以为缓存...
来源: Laya_社区 发布时间: 20180705
关于loader加载Loader.JSON的一些问题 今天在处理本地JSON资源时,发现一个奇怪的问题: Laya.loader.load(resUrl, Laya.Handler.create(this, function (res) { //解析题目 log(res); //放置方块 }), null, Laya.Loader.JSON); } 代码运行到这老是报错,报错...
来源: Laya_社区 发布时间: 20200311
...ogressBar.value=0.5; Laya.stage.addChild(progressBar); 后台: Failed to load resource: net::ERR_FILE_NOT_FOUND(FILE///..../bin/commonUI/anniu05a$bar.png) [warn]Retry to load:/......./bin/commonUI/anniu05a$bar.png 但能显示出来, 2.skin这个属性和graphiscs.darw有什么区别,效果都...
来源: Laya_社区 发布时间: 20160729
...lstatp-toutiao.com/obj/ad.union.api/e285dd263aee2e8f7b302fa8d139de4c' Laya.loader.load(url, Laya.Handler.create(this, () => { let picTemp = Laya.Loader.getRes(url); console.log(picTemp.width) // undefined let nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 n...
来源: Laya_社区 发布时间: 20211026
...列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node scene : Scene[read-only] 获得所...
来源: laya_api 发布时间: 20170929
...散图作为素材,先加载swf的图片资源,并且把swf资源全部load一遍,用complete监听作为加载完成的判断,并且不清理资源,达到类似预加载的效果。但是不太建议这样做,性能很差,特别是swf大量的时候,特别体现在手机上。建议...
来源: Laya_社区 发布时间: 20170522
... at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) 请问这个怎么解决,谢谢。 2018-05-23 添加...
来源: Laya_社区 发布时间: 20180523
...tterRender.sharedMaterial; glitterMaterial.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/layabox.png"); glitterMaterial.albedo = new Laya.Vector4(1.3, 1.3, 1.3, 1); glitterTemplet.lifeTime = 1.3; glitterTemplet.minSegmentDistance = 0.1; glitterTemplet.minInterpDistance = 0.6; glitterTem...
来源: Laya_示例 发布时间: 20260303
...个图集动画,但用Animation.createFrames时,提示[error]Failed to load: atk/010019.png ,没找到是什么原因; 3.Animation.createFrames这是静态方法,想缓存图集的某一组动画时,怎么确定它操作的目标图集? 比较急,望答复,多谢; 2017-12-21 添...
来源: Laya_社区 发布时间: 20171221