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

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

81. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 90%]

... public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:numbe...

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

82. laya.d3.resource.models.PrimitiveMesh_API3.0 [ 90%]

...PrimitiveMesh.ts:18 Returns void Static createBox createBox(long?: number, height?: number, width?: number): Mesh Defined in laya/d3/resource/models/PrimitiveMesh.ts:69 创建Box网格。 Parameters Default value long: number = 1 半径 Default value height: number = 1 垂直层数 Default value wid...

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

83. 当laya唤起手机自带的输入法之后,laya的height为啥不变动。。?想知道就显示区域的高度怎么办? [ 90%]

当laya唤起手机自带的输入法之后,laya的height为啥不变动。。?想知道就显示区域的高度怎么办? 2018-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: https:...

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

84. 截屏函数异常E/LayaBox:className:layaair/game/browser/ExportJavaFunction,methodName:captureScreen [ 90%]

...wser.window.conch ) { var content=Laya.Browser.context; var width=800; var height=500; Laya.Browser.window.conch.captureScreen(function(content,width,height){ Laya.Browser.window.conch.saveAsPng( content,width,height,Laya.Browser.window.conch.getCachePath()+"/test.png" ); }) } }         E/LayaBo...

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

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

...set():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(...

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

86. 输入设备-地图 [ 90%]

... style = mapDiv.style; style.position = "absolute"; style.top = Laya.stage.height / Browser.pixelRatio + "px"; style.left = "0px"; style.width = Browser.width / Browser.pixelRatio + "px"; style.height = (Browser.height - Laya.stage.height) / Browser.pixelRatio + "px"; Browser.document.body.appendChi...

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

87. 文本-禁止编辑 [ 90%]

...// 不支持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"; this.createInput(); } createInput() { const Input = L...

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

88. laya.d3.math.Viewport_API3.0 [ 90%]

...建视口。 Hierarchy Viewport Index Constructors constructor Properties height maxDepth minDepth width x y _tempViewport Methods cloneTo project set unprojectFromMat unprojectFromWVP Constructors constructor new Viewport(x?: number, y?: number, width?: number, height?: number): Viewport Defined in...

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

89. 鼠标交互-修正交互区域 [ 90%]

...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { buildWorld(); createLogger();...

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

90. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 89%]

...ole.log("lose skin",this._skin); return; }; var width=img.sourceWidth; var height=img.sourceHeight / this._stateNum; img.$_GID || (img.$_GID=Utils.getGID()); var key=img.$_GID+"-"+this._stateNum; var clips=AutoBitmap.getCache(key); if (clips)this._sources=clips; else { this._sources=; if (this._stat...

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