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

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

1181. laya.map.TiledMap [ 63%]

...oolean = true 是否自动缓存没有动画的地块 TiledMap  autoCacheType : String = normal 自动缓存类型,地图较大时建议使用normal TiledMap  cacheAllAfterInit : Boolean = false 是否在加载完成之后cache所有大格子 TiledMap  enableMergeLayer : Boolean = false 是否...

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

1182. 请问在layaIDE里,怎么调用微信小程序API [ 63%]

...动在Main.ts里加了 Laya["MiniAdpter"].init(); 还是提示:Uncaught TypeError: Cannot read property 'init' of undefined 不得不说,真的layabox的文档写的是太烂了。。。 2019-06-11 1 0 分享 微博 QZONE 微信 yung 赞同来自: 如果是as,使用__JS__("wx.xxx")   2018-04-...

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

1183. 将字节数组转为图片 [ 63%]

...         var blob:Object = new Browser.window.Blob([byte.buffer], { type:"image/png" } );             var url:String = Browser.window.URL.createObjectURL(blob);             var sp:Sprite = new Sprite();             sp.loadImage(url);             addChild(sp...

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

1184. 分享一个自己做的游戏公告功能,跑马灯效果 [ 63%]

...else { this.html.x -= 2 } } /** 添加节点 */ addItem(html:string) { if (typeof html === "undefined") {return } this.html.appendHTML(`${this.space}${html}`) if (this.isPlayIng === false) { this.play() this.isPlayIng = true } } /** 开始动画 */ play() { if (this.isPlayIng === true) { return } co...

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

1185. laya.resource.NativeContext_API3.0 [ 63%]

...idata sprite ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTALIGN_RIGHT const2DRenderCMD Accessors _curMat _targets asBitmap fillStyle globalAlpha globalCompositeOperation isMain Methods _drawCircle ...

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

1186. laya.d3.renderobjs.renderobj.SkinRenderElementOBJ_API3.0 [ 63%]

..._clearShaderInstance _destroy _render drawGeometry Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface

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

1187. Dialog 第一次打开总是出现在窗口右下角,这是为啥,再打开就正常剧中了? [ 63%]

... this.loadScene('assets/scenes/dialogs/SettingDialog.scene'); } }{ "x":0, "type":"Dialog", "selectedBox":2, "selecteID":3, "searchKey":"Dialog", "props":{"width":1624,"sceneColor":"#000000","runtime":"script/view/dialogs/SettingDialog.js","height":750}, "nodeParent":-1, "maxID":4, "label":"Dialog", ...

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

1188. laya.d3.core.Bounds_API3.0 [ 63%]

...nt getMax getMin setCenter setExtent setMax setMin Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface Static property

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

1189. laya.d3.renderobjs.renderobj.RenderContext3DOBJ_API3.0 [ 63%]

...ta scissor viewPort applyContext drawRenderElement Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface

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

1190. 微信小游戏Worker使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

...ess:function(res){ console.log("worker downloadfile url:" + data.url); res.type = "Image"; // 资源类型,在MiniWorkerLoader的workerMessage回调中进行处理,目前只模拟了图片类型 res.url = data.url; res.imageBitmap = res.tempFilePath; // 小游戏不支持ImageBitMap也不支持w...

来源: Laya3.0_文档 发布时间: 20251010