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

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

271. Sprite-新手引导 [ 64%]

...ew Sprite(); //设置叠加模式 interactionArea.blendMode = "destination-out"; guideContainer.addChild(interactionArea); hitArea = new HitArea(); hitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); guideContainer.hitArea = hitArea; guideContainer.mouseEnabled = true; tipCon...

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

272. Uncaught TypeError: Cannot read property '_tf' of null [ 64%]

...imationClip version. 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Cannot read property 'displayObject' of null 运行报错 Uncaught Can not find scene:GameView.scene undefined laya的模型动画对360小游戏不适配 报game.js:22084 Uncaught getUint16 error - Out of bound...

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

273. 关于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

274. 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_示例 发布时间: 20251218

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

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

277. 建议给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

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

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

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