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

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

3411. native 获取Texture上的某个区域的像素点 getPixels中有报错 [ 52%]

...();         tex.load("res/img/108879.png",Laya.Handler.create(this,function(): void{             tex.getPixels(0,0,1,1);         })); 附件 : --> 2019-06-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

3412. [LayaNative3]网络状态监听在android15及以上版本无效 [ 52%]

...erit(=inherit) [/code]和 [code]=inheritconch=inherit.=inheritsetNetworkEvtFunction()[/code]   另外在PC和IOS17上使用以上两个方法是有效的。请开发组测试下android环境     代码片段 //检查是否有网络 export function hasNetwork() {   if ((Laya.Browser.onAndroid || ...

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

3413. laya.d3.core.particleshuriken.module.GradientDataVector2_API3.0 [ 52%]

...constructor gradientCount add clone cloneTo Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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

3414. 微信小程序中,多个Laya.Animator的speed设置就闪退,不设置的时候运行正常 [ 52%]

...n鼠标点击区域的设置 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-11-01 13:20 浏览: 673 关注: 1 人

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

3415. 关于新的微信小游戏本地缓存API建议 [ 52%]

...实际也是需要缓存的 而新提供的手动缓存API public static function downLoadFile(fileUrl:String, fileType:String = "",callBack:Handler = null,encoding:String = "ascii"):void   和原有loader加载方式产生分裂,导致游戏加载代码不统一,并且不支持传入...

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

3416. 刚换到as3 这个地方不明白 [ 52%]

...mport ui.extends.login; extends是关键字,最好别用做包路径 2、function onAssetLoaded1()你的函数写到包外了,写到上一个大括号内部,保证项目的最后有3个结尾的 } 。 3、login下有错误,建议你自己纠正下吧 cuixueying • 2017-05-04 15:11 可以先...

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

3417. LayaAir引擎之webGl之bindTexture: attempt to bind a deleted texture [ 52%]

...ttempt to bind a deleted texture 源码为     WebGLContext.bindTexture=function(gl,target,texture){             gl.bindTexture(target,texture);             WebGLContext.curBindTexTarget=target;             WebGLContext.curBindTexValue=texture;         } 看看有...

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

3418. 点击事件会导致setTimeout setInterval 延迟执行的问题 [ 52%]

...一样会导致setInterval明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全部注释掉频繁的点击页面也会卡住!!!!! 我在事件的处理函数中设置stopPropagation没有任何作用; 现在这个是一个...

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

3419. 为何用MovieClip加载Swf会造成H5卡死,且不报错? [ 52%]

...ieClip = new MovieClip(); Laya.stage.addChild(mc); mc.on("complete", this, function (evt:Event){ trace("swf complete"); }); mc.load("../../res/swf/mapFlash.swf"); 为何加了这段代码,整个H5就如“死机”,点浏览器的刷新都不管用? 也不抱错? 2017-01-18 添加评论 免...

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

3420. 关于video [ 52%]

...bg_back.png"); Laya.stage.addChild(Bg); Bg.on(Laya.Event.MOUSE_DOWN, this, function(){ // 创建Video元素 var videoElement = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zInddex = Laya.Render.ca...

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