• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,377 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)

1311. laya.display.BitmapFont_API3.0 [ 43%]

...ediately dict fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event...

来源: Laya3.0_api 发布时间: 20231115

1312. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 43%]

...width - w >> 1; //显示的字符串 var demoString = "LayaBox"; var letterText; for(var i = 0,len = demoString.length;i(动图2) 结合实例代码,然后通过图2的运动效果,我们可以看出,文本"Layabox"在初始位置(*y轴300*)出现之后,瞬间消失,然后从缓动...

来源: Laya2.0_文档 发布时间: 20210715

1313. List滚动条问题 [ 43%]

...ddChild(this._goldButton); this.setGold = function(gold) { this._goldLabel.text = "×" + gold + "金豆"; }; this.setGoldImage = function(img) { this._goldImage.skin = img; this._goldImage.pos((312-this._goldImage.width)/2, (462-this._goldImage.height)/2); }; this.setPrice = function(price) { this._...

来源: Laya_社区 发布时间: 20170422

1314. [LayaAirIDE3][3.1.0 B2]自定义组件属性分组上的菜单无效 [ 43%]

...帧属性面板不见了 List 组件列表渲染异常 分享,扩展Laya.Text组件实现简单的富文本 动画混合无效(版本2.6) 微信排行榜组件内存泄漏 (此问题已经无效) LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 自定义场景类导出layaMaxUI.ts有前...

来源: Laya_社区 发布时间: 20231204

1315. 3.0的几个操作上的异常 [ 43%]

...在其他层级上,貌似还不固定。 2、转换组件类型,比如Text转Label,会丢失一些东西,如文本,颜色…… 3、缺少合组,这个功能暂时没有都还能接受。 4、这个就相当操蛋,比那个导入图片进来,如果是png格式的,还要手动去设...

来源: Laya_社区 发布时间: 20230220

1316. laya.ui.UIGroup [ 43%]

...状态下的描边颜色。 UIGroup tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

1317. 微信小游戏IDE加载位图字体,提示错误 [ 43%]

...这个问题,laya.core.js,805行加上: __proto.parseFont=function(xml,texture){ if (xml==null || texture==null)return; this._texture=texture; var tX=0; var tScale=1; + if (typeof xml === "string") { + var parser = new DOMParser(); + xml = parser.parser.parserFromString(xml,'text/xml')...

来源: Laya_社区 发布时间: 20180306

1318. 无法触发浏览器文件上传框 [ 43%]

..."file" id="file" style="display: none;"></input> <script type="text/javascript"> var btn = document.getElementById('btn'); btn.addEventListener('click', function(){ document.getElementById("file").click(); }); </script> </body> </html>我想你理解错了,我是...

来源: Laya_社区 发布时间: 20170511

1319. laya.ui.UIGroup [ 43%]

...态下的描边颜色。 UIGroup tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则...

来源: Laya2.0_api 发布时间: 20190513

1320. laya.utils.PerfHUD [ 43%]

...以像素为单位)。 Sprite drawCallOptimize : BooleanSprite  drawTexTm : Number = 0[static] PerfHUD filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Spri...

来源: Laya2.0_api 发布时间: 20190513