大约有 2,553 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
Laya_社区(2056) Laya3.0_api(129) Laya2.0_文档(109) laya_api(84) Laya2.0_api(82) Laya3.0_文档(42) Laya_示例(36) Laya2.0_示例(15)
...anager:unknown file(res/partical1/Assets/IGSoft_Tools/FXMaker/ToolResource/Texture/MapGrid.psd) extension with: psd. at LoaderManager.__proto._create (file:///C:/Users/borui/Desktop/Cube3D/bin/libs/laya.core.js:13120:11) at LoaderManager.__proto.create (file:///C:/Users/borui/Desktop/Cube3D/bin/libs...
来源: Laya_社区 发布时间: 20180328
...nedMeshSprite3d.skinnedMeshRender.materials[i]; //高光贴图 mat.specularTexture = Laya.Texture2D.load(this.specularMapUrl[i]); } Laya.timer.frameLoop(1, this, function () { dude1.transform.rotate(this.rotation); dude2.transform.rotate(this.rotation); }); }class BlinnPhong_SpecularMap { private sc...
来源: Laya_示例 发布时间: 20260303
...a2.0提供了WXOpenDataViewer来做开放域显示。 以前1.0的new Laya.Texture(sharedCanvas)的构建方式不行了,修改方案可以参考以下WXOpenDataViewer的Texture创建方案。 2018-12-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20181222
...ght (in promise) TypeError: value._addReference is not a function at Texture.<anonymous> (laya.core.js:15911) at Texture.__proto._onLoaded (laya.core.js:15752) at EventHandler.__proto.runWith (laya.core.js:1410) at ResInfo.__proto.event (laya.core.js:1166) at Load...
来源: Laya_社区 发布时间: 20200201
...varying vec2 v_Texcoord0; varying vec3 v_Normal; uniform sampler2D u_AlbedoTexture; void main() { vec4 albedoTextureColor = vec4(1.0); albedoTextureColor = texture2D(u_AlbedoTexture, v_Texcoord0); gl_FragColor=albedoTextureColor; } ``` ### 1.定义自定义属性 **Material** 是所有的材质的...
来源: Laya2.0_文档 发布时间: 20210715
...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...
来源: laya_api 发布时间: 20170929
...material = meshSprite3D.meshRender.material; //法线贴图 material.normalTexture = Laya.Texture2D.load(this.normalMapUrl[i]); } Laya.timer.frameLoop(1, this, function () { monster1.transform.rotate(this.rotation); monster2.transform.rotate(this.rotation); }); }class BlinnPhong_NormalMap { private ...
来源: Laya_示例 发布时间: 20260303
...tus }, (state, responseText) => { this.errors[path] = `Couldn't load texture atlas ${path}: status ${status}, ${responseText}`; if (error) error(path, `Couldn't load texture atlas ${path}: status ${status}, ${responseText}`); this.toLoad--; this.loaded++; }); 附件 : --> 2022-01-22 添加评...
来源: Laya_社区 发布时间: 20220122
...染时错位的bug 在2.3.0如果你用了裁剪空白区域(可以参阅texturepacker的裁剪空白区域功能,一样的原理),在你对显示单位设置锚点后,显示有很大概率会错位。 官方Git:https://github.com/layabox/LayaAir/tree/master/src/layaAir/laya(每周去...
来源: Laya_社区 发布时间: 20200708
...资源所在图集也存在,不过小图的source的_referecentCount==0,_texture==null。不知是不是这个原因引起? 如附件图,black.png是用到的小图,所在图集为comui.atlas 附件 : --> 2022-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20220722