大约有 854 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0136 秒)
Laya_社区(461) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya3.0_文档(56) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37)
...版,家庭版的,跳到编辑模式就显示这个 Error: asBitmap no size! IDE不能运行调试提示:Chrome error: Error:... spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? spine转换...
来源: Laya_社区 发布时间: 20171010
...照物 let reference = new Laya.Sprite(); reference.pos(0, 0); reference.size('100%', '100%'); this.addChild(reference); Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement,reference,0, 0,'100%','100%']); Laya.Utils.fitDOMElementInArea(videoElement,reference,0, 0,'10...
来源: Laya_社区 发布时间: 20181124
Laya.stage.on(Laya.Event.RESIZE,this, this.ChangeSize); private ChangeSize() { console.log("---------------") if(Laya.Browser.window.innerHeight < Laya.Browser.window.innerWidth) { console.log("横屏") } else { console.log(...
来源: Laya_社区 发布时间: 20230516
...的循环播放 默认是按整个动画的循环label无法随内容扩充size现在runtime只能继承她的base类 没办法统一管理Ui界面了 如果我让base去继承管理类会被系统覆盖--无法在IDE查看3D动画 tween 里面的update 没有进度回调 相关链接 : https:...
来源: Laya_社区 发布时间: 20230515
...extureUrl); this.ape.loadImage(textureUrl); // 设置交互区域 this.ape.size(texture.width, texture.height); } } } new laya.Sprite_SwitchTexture(); ``` 运行代码效果如动图2-2所示:  (动图2-2) ## 2 、用drawTexture方法显示与切换图片 ### 2.1 drawTextu...
来源: Laya2.0_文档 发布时间: 20210715
...前画面下,绘制的图片显存数量已经超出了显存池的最大size,显存池就会一直触发清理函数,同时有可能会出现闪烁现象。 2018-12-04 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 vector 1 相关...
来源: Laya_社区 发布时间: 20181201
...径下查找。通过这种zip机制便可以解决GooglePlay规定APK的size超过100MB,要求增加扩展包的问题。 ## 1.机制详解 ### 1.生成DCC 测试项目用DCC工具打包资源  ### 2.压缩文件 把资源包放到扩展文件中,压缩cache文件,文件要...
来源: Laya2.0_文档 发布时间: 20210715
...以手动输入常用的字体,还可以是位图字体 字体大小 fontSize 文本字体大小,例如: 50,直接填写正整数 单字符渲染 singleCharRender 以字符为单位将文本缓存到共享的贴图中,相同样式字体字号的字符全局共享一份缓存,默认为fal...
来源: Laya3.0_文档 发布时间: 20251010
...he following errors: </h3> <div style="font-family:monospace;font-size:12px">error on line 1 at column 53: attributes construct error </div> <h3>Below is a rendering of the page up to the first error. </h3> </parsererror> </body> </html> 2017-11-30 添...
来源: Laya_社区 发布时间: 20171130
...题, this.myTest = new Laya.Text() this.myTest.pos(0, 0) this.myTest.size(100, 100) this.myTest.fontSize = 13 this.myTest.color = "#ffffff" this.myTest.align = "center" this.addChild(this.myTest) this.timer.loop(10, this, this.timerClick) timerClick() { this.myTest.changeText("改变的...
来源: Laya_社区 发布时间: 20190129