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

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

701. 如何获取webgl模式下屏幕上的像素值 [ 73%]

...canRead){ gl.bindFramebuffer(/*laya.webgl.WebGLContext.FRAMEBUFFER*/0x8D40,null); return null; };   canRead为false,这个要怎么解决 2018-05-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Volumex 相关问题 请问有没有...

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

702. 2.0.0类库,camera关闭遮挡剔除会报错 [ 73%]

...ra,this,context,this._renders); }else { FrustumCulling.renderObjectCulling(null,this,context,this._renders); } 而被调用的函数中又直接用到了camera中的变量,传入null的就会报错

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

703. 微信小游戏报错 [ 73%]

...ating 'measureResult.width');at socketTask.onmessage callback function 2、null is not an object (evaluating 'this._audio.play');at audioContext.onended callback function 3、Cannot read property 'play' of null;at audioContext.onended callback function 2、3应该是一样的 layaide 版本 1.7.16 ...

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

704. 关于mouseThrough设计原理问题? [ 73%]

...0,0,200, 200, "#00ff00"); a.size(200, 200); a.pos(0, 0); a.on(Event.CLICK, null, function(e:Event):void{ trace("click a"); }) Laya.stage.addChild(a); var b:Sprite = new Sprite(); b.graphics.drawRect(0,0,200, 200, "#0000ff"); b.size(200, 200); b.pos(100, 100); b.mouseThrough = false; //b.on(Event.CLI...

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

705. CEF版本问题 [ 73%]

...Render方法内,查看下函数getWebGLContext返回的值,是返回了null还是返回正常的gl,返回null的话会导致黑屏的。 2021-11-02 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 CC 相关问题 unity导出粒子文...

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

706. EventDispatcher接收不到参数 [ 73%]

... //监听事件 Dispatcher.eventDispatcher.on(InName,caller,listener,(arg==null)?null:([arg])); console.log("arg-->"+[arg]); } return Dispatcher; })(Laya.EventDispatcher);   EventDispatcher接收不到参数    派发事件输出正常   监听事件输出是为空 2017-08-09 添加评论 免...

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

707. "Cannot set property 'alertGlobalError' of undefined" [ 73%]

...报错 btCollisionObject undefined Cannot read property 'displayObject' of null Uncaught TypeError: Cannot read property 'props' of undefined Laya2.1.0 JS调用Java PlatformClass undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'curs...

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

708. 3D场景资源释放 [ 73%]

...无法被释放,报以下错误 Cannot read property 'removeResource' of null。 2017-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 你是用dispose释放的吗? 2017...

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

709. destroy 报错问题求解 [ 73%]

...回复 cuixueying 赞同来自: 你自己判断下该显示对象是否为null就可以了,如果为null,表示已经destroy,否则重新调以下destroy! 2017-07-06 0 0 分享 微博 QZONE 微信 jonathang4 赞同来自: 是说TimeLine作用的显示对象已经被销毁了导致的?而...

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

710. 自定义渲染 添加任意 uniform值后, 报错解决。 [ 73%]

...,报错 __proto.upload里报错解决 ((value=shaderValue[one.name])!==null) 后加一个判断((value=shaderValue[one.name])!==undefined)     附件 : --> 2018-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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