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

大约有 630 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0040 秒)

271. 关于graphics镂空的问题https://ask.layabox.com/question/139 [ 63%]

...tArea api,其实可以使用HitArea的hit与unHit属性结合destination-out实现flash中两次draw镂空可点击穿透完全一致的效果。var redBox:Sprite = new Sprite(); redBox.pos(250,200); redBox.autoSize = true; redBox.graphics.drawRect(0,0,100,100,'#ff0000'); Laya.stage.addChild(redBo...

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

272. Sprite-新手引导 [ 63%]

...ctionArea); // 设置叠加模式 interactionArea.blendMode = "destination-out"; // 设置点击区域 hitArea = new Laya.HitArea(); hitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000"); guideContainer.hitArea = hitArea; guideContainer.mouseEnabled = true; tipContainer = new Sprit...

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

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

...rray(new SharedArrayBuffer(4))             // also filters out NaN, non-number types, including empty strings, but allows bigints             const valid = ms > 0 && ms < Infinity              if (valid === false) {    ...

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

274. laya.d3.core.Gradient_API3.0 [ 62%]

...。 Returns void evaluateColorAlpha evaluateColorAlpha(lerpFactor: number, outColor: Color, startSearchIndex?: number, reverseSearch?: boolean): number Defined in laya/d3/core/Gradient.ts:273 通过插值获取透明值。 Parameters lerpFactor: number 插值因子。 outColor: Color Default value s...

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

275. 建议给Tween增加一些功能, 例如无限循环 , 增加一些回调函数 [ 62%]

...Uncaught RangeError: Array buffer allocation failed 用着某个粒子: GL_OUT_OF_MEMORY : glShaderSource: too large laya.webgl.js:8055 GL_OUT_OF_MEMORY : glShaderSource: too large laya.webgl.js:7582 Uncaught __proto._compile @ laya.webgl.js:7582__proto.recreateResource @ laya.webgl.js:7548__proto.a...

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

276. laya.d3.core.pixelline.PixelLineFilter_API3.0 [ 62%]

...MeshTopology Returns void Methods _getLineData _getLineData(index: number, out: PixelLineData): void Defined in laya/d3/core/pixelLine/PixelLineFilter.ts:244 获取线段数据 Parameters index: number out: PixelLineData Returns void 线段数据。 clearRenderParams clearRenderParams(): void Inheri...

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

277. Maximum call stack size exceeded [ 62%]

..._SIZE FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory Cannot read property 'call' of undefined 请教下 是 layabox 正交 相机的size。和U3D 正交相机的size啥关系啊! ...

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

278. CameraMoveScript.as在哪儿下载群里的有错 [ 61%]

...); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); Laya.stage.on(Event.MOUSE_OUT, this, mouseOut); var camera:BaseCamera = owner.scene.currentCamera; 没有了 -- currentCamera 2017-02-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

279. layaair2-cmd compile编译报内存溢出 [ 60%]

...ffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory  1: 00007FF66837ACB5   2: 00007FF6683544E6  3: 00007FF668354EF0  4: 00007FF6685E47FE  5: 00007FF6685E472F  6: 00007FF668B18964  7: 00007FF668B0F0F2  8: 00007FF668B0D68C  9: 00007FF668B165B7 10: 00007FF...

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

280. laya.d3.math.Bounds_API3.0 [ 60%]

...nt: Vector3 Returns boolean Static merge merge(box1: Bounds, box2: Bounds, out: Bounds): void Defined in laya/d3/math/Bounds.ts:17 合并两个包围盒。 Parameters box1: Bounds 包围盒1。 box2: Bounds 包围盒2。 out: Bounds 生成的包围盒。 Returns void Globals "laya/d3/math/Bounds" Bo...

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