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

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

1191. 微信小游戏Worker使用 · LayaAir3.4 · 引擎文档 · 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

1192. 微信小游戏,请先初始化小游戏适配库 [ 63%]

...e.html:156 WAGame.js:3 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function     at Function.Browser.__init__ (http://127.0.0.1:51176/game/code.js:7140:21)     at Function._$GET_clientWidth (http://127.0.0.1:51176/game/code.js:7057:11)     at http://127....

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

1193. laya.d3.core.Gradient_API3.0 [ 63%]

...a evaluateColorRGB updateColorAlpha updateColorRGB Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface

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

1194. laya.d3.core.render.command.MaterialInstancePropertyBlock_API3.0 [ 63%]

...ialInstancePropertyBlock Index Constructors constructor Properties INSTANCETYPE_ATTRIBUTE INSTANCETYPE_UNIFORMBUFFER Methods clear getPropertyArray setNumberArray setVector2Array setVector3Array setVectorArray Constructors constructor new MaterialInstancePropertyBlock(): MaterialInstancePropertyBloc...

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

1195. 解决游戏最小化退到后台后浏览器会强制1秒执行一次ILaya.stage._loop() [ 63%]

...   // ev.data[0]         var ms = 25;         if (typeof SharedArrayBuffer !== 'undefined' && typeof Atomics !== 'undefined') {             const nil = new Int32Array(new SharedArrayBuffer(4))             // also filters out N...

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

1196. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 63%]

...ull; this.effectData =ui.kick_effectUI.uiView;; } } kick_effectUI.uiView={"type":"View","props":{},"compId":2,"child":[{"type":"Sprite","props":{"y":0,"x":0,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,"tweenMethod":"linearNone","tween":t...

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

1197. Laya+Matter导出wx小程序碰到的问题 [ 63%]

...stion/14238),  需要在index.html增加matter库的引用 <script type="text/javascript" src="libs/matter.js"></script> <script type="text/javascript" src="libs/LayaRender.js"></script> 2、为了导出小程序,需要进行wx适配的初始化,在ts/js文件中增...

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

1198. laya.d3.math.BoundsImpl_API3.0 [ 63%]

... setMax setMin TEMP_VECTOR3_MAX0 TEMP_VECTOR3_MAX1 Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface

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

1199. laya.components.KeyframeNode2D_API3.0 [ 63%]

...wnerPathByIndex getPropertyByIndex Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface

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

1200. 关于微信小游戏加载 ls和lh资源文件被认为是string而不是json对象问题 [ 63%]

..., url 参数用如下的写法 ,通过对象属性给 url字符串和 type let param: any ={ url: "Res3D/testHuman.lh", field: i, type: Laya.Sprite3D }; Laya.loader.create(param, completeHandler, progressHander); 在 Laya 1.7.22 中 正常工作,但 Laya2.0.0 中,不管加载的是...

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