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

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

1191. 微信小游戏,请先初始化小游戏适配库 [ 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

1192. 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

1193. 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

1194. 解决游戏最小化退到后台后浏览器会强制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

1195. 动效问题,没有 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

1196. 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

1197. 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

1198. 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

1199. 关于微信小游戏加载 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

1200. 3D灯光与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

...范围,数值越大,光照范围越大。 (图2-6) Lightmap Bake Type:光源模式 ​ Mixed:混合光源 ​ 混合光源结合了实时光源和光照烘焙。可以使用混合光源将动态阴影与来自同一光源的烘焙照明相结合,或者在希望灯光提供直接实时...

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