大约有 1,656 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0095 秒)
...长轮询技术。 轮询是指客户端定期向服务器发送请求来获取最新数据,这种方式会造成大量不必要的请求,浪费带宽和服务器资源; 长轮询虽然有所改进,但仍不是真正意义上的实时通信。为了解决这些问题,HTML5 规范引入了 ...
来源: Laya3.0_文档 发布时间: 20251010
...);//清除所有数据归零。 ``` - **getSystemEndian()**:string[static] 获取系统的字节存储顺序。 ```typescript console.log(Laya.Byte.getSystemEndian());//打印系统的字节顺序 ``` - ### 属性 - **BIG_ENDIAN** : string= bigEndian[static] 表示多字节数字的最高有效字...
来源: Laya2.0_文档 发布时间: 20210715
...rt(); if(client!=null){ Log. i(TAG, "已连接到服务器:" +client); //获取客户端的输入流 BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream())); //读取第一行 String line = in.readLine(); if(line==null||line.equals("")||line.equals( "\r\n")){ break; ...
来源: Laya_社区 发布时间: 20160104
...音乐音效全无 ios14系统下 blendMode='lighter' 图片异常 怎么获取对象的坐标 LayaAir3D 导出和使用U3D粒子特效 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 ios14新系统问题 localToGlobal坐标转换 粒子系统官例里载入的那些json文...
来源: Laya_社区 发布时间: 20161223
... class MyItem extends Laya.GButton { //注意!在onConstruct里才可以获取子对象,建议在这里做初始化,不要在构造函数里做初始化 onConstruct() { //this.xx = this.getChild("xx"); //this.xx.on(Laya.Event.CLICK, this, this.onClick); } sayHello() { console.log("Hello from M...
来源: Laya3.0_文档 发布时间: 20251128
...string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...
来源: Laya3.0_api 发布时间: 20231102
... true : false; function useOtherNode(){ return useIDENode||useCMDNode; } //获取Node插件和工作路径 let ideModuleDir = useOtherNode() ? process.argv[1].replace("gulp\\bin\\gulp.js", "").replace("gulp/bin/gulp.js", "") : ""; let workSpaceDir = useOtherNode() ? process.argv[2].replace("--gulpfi...
来源: Laya_社区 发布时间: 20200918
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...ind console.log("c:",c.id);//c:2 } 是不是发现b只处理了set后无法获取id的值。 5.pomelo 说实话,框架真心不错,客户端也简单,具体介绍看github上的介绍吧,https://github.com/NetEase/pomelo,谈到这个就顺便讲讲如何使用第三方库吧,以pomeloClien...
来源: Laya_社区 发布时间: 20161109
...base/subpackage/LoadSubpackageTask.html),可以通过 LoadSubpackageTask 获取当前下载进度。示例代码如下: ```javascript loadTask.onProgressUpdate(res => { console.log('下载进度', res.progress) console.log('已经下载的数据长度', res.totalBytesWritten) console.log('预期...
来源: Laya2.0_文档 发布时间: 20210715