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

大约有 717 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)

471. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 69%]

...{         public static  uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]};        ...

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

472. laya.ui.UIGroup [ 68%]

...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...

来源: laya_api 发布时间: 20170929

473. textinput(type=password)手机打开华为安全键盘后,无法关闭(官网的例子) [ 68%]

...     var WebGL = Laya.WebGL;     var SPACING = 100;     var INPUT_WIDTH = 300;     var INPUT_HEIGHT = 50;     var Y_OFFSET = 50;     var skins;     (function()     {         // 不支持WebGL时自动切换至Canvas         Laya.init(800, 600, WebGL);        ...

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

474. 文本-滚动文本 [ 68%]

...tion() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createText(); })(); function cre...

来源: Laya_示例 发布时间: 20260303

475. 为什么谷歌浏览器调试可以显示这些文字打包后却没有了 [ 68%]

...le"; // div.style.fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#black"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl[i],'<img src="res/face/face'+i+'.png" style="width:36px;height:36px;posi...

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

476. Animation创建时无法获取高度 [ 68%]

...--> ", roleAni.getBounds() ); 打印为 ---> Rectangle {x: 0, y: 0, width: 0, height: 0}修改anchorY值无效 2017-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 1、加个ti...

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

477. laya.ui.ScrollBar [ 68%]

...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component  downButton : Button下按钮 ScrollBar  elasticBackTime : Number = 500橡皮筋回弹时间,单位为毫秒。ScrollBar  elasticDis...

来源: laya_api 发布时间: 20170929

478. laya.ani.bone.Skeleton [ 68%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...

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

479. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 68%]

...* @en Draws the current object to a RenderTexture2D object. * @param canvasWidth The width of the canvas. * @param canvasHeight The height of the canvas. * @param offsetX The X-axis offset for drawing. * @param offsetY The Y-axis offset for drawing. * @param rt The render target. * @param isDrawRend...

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

480. 微信小游戏截屏分享 [ 68%]

...回复 坚果 赞同来自: 183*****291 、₩ var htmlC = sp.drawToCanvas(width, height, 0, 0); var canvas = htmlC.getCanvas(); canvas.toTempFilePath({ x: 0, y: 0, width: width, height: height, destWidth: width, destHeight: height, success: function (res) { wx.shareAppMessage({ imageUrl: res.tempFi...

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