大约有 313 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)
Laya3.0_api(104) Laya_社区(78) Laya2.0_api(62) laya_api(58) Laya2.0_文档(7) Laya3.0_文档(2) Laya2.0_示例(1) Laya_示例(1)
...ctors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event has...
来源: Laya3.0_api 发布时间: 20231115
BoneSlot 对象 showSlotData 无效 texture 替换后显示错误! 骨骼动画里有没有办法直接替换显示数据和纹理? 代码这样赋值不显示 调用一次 _slot.currTexture = tex; 则显示错乱。 附件 : --> 2018-05-07 添加评论 悬赏 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180507
LayaAirUnityPlugin_beta 不显示texture setting 按照2.0文档步骤,unity5.6.6安装LayaAirUnityPlugin_beta 后不显示texture setting 等内容。 2018-10-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ...
来源: Laya_社区 发布时间: 20181021
截屏功能,添加Texture对象报错 按照官方教程编写的截屏功能,代码如下所示。 在sp内addChild失败,(未报错,图内可以看到打印出来sp子节点为空)。添加进Stage报错Failed to execute 'bindTexture' on 'WebGL2RenderingContext': parameter 2 is not o...
来源: Laya_社区 发布时间: 20200420
drawTexture时,Matrix对象,a=-1,无法实现水平翻转 g.drawTexture(texture,100, 100, texture.width, texture.height, new laya.maths.Matrix(-1)); 为何无法实现水平翻转? 绘制的图片直接看不见了,如果不设置matrix.a = -1就不会出现。 2017-02-21 添加评论 免...
来源: Laya_社区 发布时间: 20170221
...源加载完成后,会自动缓存至资源库中。 Image source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓...
来源: Laya2.0_api 发布时间: 20190513
...Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined Texture图片能否进行翻转? 导微信小程序报错window.focus is not a function 官网示例摇一摇报错,就解决方案 启动引擎报错 mPlugin.game_plugin_init(3); 小游戏项目 加载有中文的json文...
来源: Laya_社区 发布时间: 20200116
2.0 怎么样才能将htmlcanvas 的东西 显示在texture上? 原本像实现将场景的东西绘制到一个sprite上,参考以前的截屏代码是可以的。 然后1.x 上我实现了,但是2.0 最新版 接口变了, Texture 的drawto public function setTo(bitmap:Texture2D = null, u...
来源: Laya_社区 发布时间: 20190624
...ge(); imgBig.skin="big.jpg"; let imgCut:Laya.Image=new Laya.Image(); let texture:Laya.Texture=Laya.Texture.create(imgBig,0,0,100,100); imgCut.texture=texture; Laya.stage.addChild(imgCut); 2019-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20190427
...显示问题 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