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

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

31. 能改变动画下getGraphicBounds 的属性吗 x y width height [ 93%]

能改变动画下getGraphicBounds 的属性吗 x y width height 2017-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 这个是只读的方法,不能改变,你可以看下对应...

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

32. 分包后, 资源加载问题 [ 93%]

...eView(loadingjzaUI.uiView); } loadingjzaUI.uiView={"type":"View","props":{"width":192,"height":269},"compId":1,"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"loading/dt_jza_loadtuan_zj.png"}},{"type":"Box","props":{"y":0,"x":0},"child":[{"type":"Image","props":{"y":0,"x":0,"width":192,"skin":...

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

33. 在安卓手机上drawToTexture不能正确返回纹理对象,是HTMLCanvas [ 93%]

...exture = Laya.Sprite.drawToTexture(dragCom,Laya.SpriteConst.TEXTURE,bounds.width, bounds.height, -bounds.x + view.x, -bounds.y + view.y); this._agent.graphics.drawTexture(this._agentTexture, (this._agent.width - bounds.width) * 0.5, (this._agent.height - bounds.height) * 0.5);   }   附件 : --> 2...

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

34. UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 [ 92%]

...UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 <Dialog width="725" sceneColor="#000000" height="500" editorInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin=...

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

35. 真机测试时 有3d模型的界面尺寸就会错乱 [ 92%]

...: x2, y: y2 } = this._modelPnl.localToGlobal(new Laya.Point(this._modelPnl.width, this._modelPnl.height))         let w = x2 - x         let h = y2 - y         let bounds = new Laya.Rectangle(x, y, w, h)          let view = new ModelView(bounds, 130, 6, 65)       ...

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

36. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 92%]

...area.w; this._doll_area.h = doll_area.h; }  // 设置容器的宽高 this.width = Math.max( this._blood_area.w, this._demon_area.w, this._doll_area.w );  this.height = this._blood_area.h + this._demon_area.h + this._doll_area.h;  this.graphics.drawRect( 0, 0, this.width, this.height, null, "#ff00...

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

37. 在一个矩形之上画另一个矩形,只显示一个矩形 [ 91%]

...L = laya.webgl.WebGL; Laya.init(480, 800, WebGL); //串盒子的宽 var boxWidth = 440; //串盒子的高 var boxHeight = 500; //串盒子 this.chuanBox = new Laya.Rectangle(Laya.stage.width - boxWidth >> 1, Laya.stage.height - boxHeight - 10, boxWidth, boxHeight); //画出盒子 Laya.stage.gr...

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

38. 计时器-间隔循环 [ 91%]

... Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() {...

来源: Laya2.0_示例 发布时间: 20251130

39. _calculateCacheRect函数有bug [ 91%]

...                tRec = this.tempRect;                 tRec.width = tRec.width + CacheStyle.CANVAS_EXTEND_EDGE * 2;                 tRec.height = tRec.height + CacheStyle.CANVAS_EXTEND_EDGE * 2;                 tRec.x = tRec.x - sprite.pivotX;                 t...

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

40. laya.html.HtmlLink_API3.0 [ 91%]

...tmlObject IHitArea Index Constructors constructor Accessors element height width Methods addRect contains create destroy pos release resetArea Constructors constructor new HtmlLink(): HtmlLink Defined in laya/html/HtmlLink.ts:14 Returns HtmlLink Accessors element get element(): HtmlElement Defined i...

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