大约有 2,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0200 秒)
Laya_社区(1811) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(31) Laya2.0_示例(15)
...in = "res/test.png"; image2.skin = "res/test.png"; 这里(image2.source as Texture).bitmap.useNum的值不应该是2才正常吗?这个位图数据被引用了两次 2017-04-21 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 引用的useNum表示被多少个Texture引用了,上面的情...
来源: Laya_社区 发布时间: 20170420
麻烦问一下 二进制arraybuffer 如何转换为bitmap?或者texture 就是Laya.Byte:getBuffer() 的数据如何转换为Texture 或者Bitmap? 2017-09-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_...
来源: Laya_社区 发布时间: 20170928
...nSlotDisplayData Index Properties attachmentName bones height lengths name texture transform triangles type uvs verLen vertices weights width Methods createTexture destory Properties attachmentName attachmentName: string Defined in laya/ani/bone/SkinSlotDisplayData.ts:12 附件名称 bones bones: an...
来源: Laya3.0_api 发布时间: 20231115
...显示问题 var sprite:Sprite=new Sprite(); sprite.pos(0, 0); var texture:Texture=new Texture(Browser.window.sharedCanvas); if (texture) { // texture.bitmap.alwaysChange=true; //小程序使用,非常费,这个参数可以根据自己的需求适当调整,如果内容不变可以不用...
来源: Laya_社区 发布时间: 20180725
...sh.lm")));var terMaterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture2=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture3=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture4=new Laya.Texture2D.lo...
来源: Laya_社区 发布时间: 20170615
... customMaterial = new CustomTerrainMaterial(); customMaterial.setSplatAlphaTexture(Laya.Texture2D.load("../../res/threeDimen/scene/terrain/terrain/splatalpha 0.png")); customMaterial.setLightMapTexture(Laya.Texture2D.load("../../res/threeDimen/scene/terrain/Assets/Scenes/Level/XunLongShi/Lightmap-0_...
来源: Laya_示例 发布时间: 20260303
layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 问题是这样产生的: 调用scene.destroy销毁场景后,然后调用scene.gc去回收资源,然后调用scene.open打开关闭的场景发现原来图集的资源没有显...
来源: Laya_社区 发布时间: 20190109
关于微信小游戏渲染子域图的问题 new Texture(Browser.window.sharedCanvas); 上面这句报错: gameThirdScriptError value._addReference is not a function TypeError: value._addReference is not a function at Texture.<anonymous> (http://127.0.0.1:10656/game/js/bundle.js:1518...
来源: Laya_社区 发布时间: 20181123
...Protected All Inherited Externals Only exported Menu Globals "laya/loaders/TextureLoader" TextureLoader Class TextureLoader Hierarchy TextureLoader Implements IResourceLoader Index Methods load wrapTex2D Methods load load(task: ILoadTask): Promise<Texture> Implementation of IResourceLoader.loa...
来源: Laya3.0_api 发布时间: 20231115
layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 问题是这样产生的: 调用scene.destroy销毁场景后,然后调用scene.gc去回收资源,然后调用scene.open打开关闭的场景发现原来图集的资源没有显...
来源: Laya_社区 发布时间: 20190109