大约有 239 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0083 秒)
...:", msg); } else { console.log("接收到非字符串数据", msg); } // 清除输入缓存,避免残留数据 this.socket.input.clear(); } /** 连接关闭回调 */ private onSocketClose(e: any): void { console.log("WebSocket 连接已关闭", e); } /** 连接错误回调 */ private onConnectEr...
来源: Laya3.0_文档 发布时间: 20251010
... targetVolume = Math.min(1, Math.max(0, targetVolume)); // 清除已有渐变 const existingInterval = this.fadeIntervals.get(channel); if (existingInterval) { clearInterval(existingInterval); } const startTime = Dat...
来源: Laya_社区 发布时间: 20250930
...据通过socket发送给服务器。 this.socket.send(this.byte.buffer); //清除掉数据;方便下次读写; this.byte.clear(); 上面我们看到,通过一个字节数组把我们需要的数据读入一个Byte数组,最后发送给服务器的是byte.buffer,这是一个ArrayBuffer的数...
来源: Laya3.0_文档 发布时间: 20250104
...rFlags = CameraClearFlags.SolidColor Defined in laya/d3/core/Camera.ts:368 清除标记。 enableRender enableRender: boolean = true Defined in laya/d3/core/Camera.ts:366 是否允许渲染。 name name: string = "" Inherited from Node.name Defined in laya/display/Node.ts:59 节点名称。 Optional...
来源: Laya3.0_api 发布时间: 20231115
...olor Inherited from Camera.clearFlag Defined in laya/d3/core/Camera.ts:368 清除标记。 enableRender enableRender: boolean = true Inherited from Camera.enableRender Defined in laya/d3/core/Camera.ts:366 是否允许渲染。 name name: string = "" Inherited from Node.name Defined in laya/display/...
来源: Laya3.0_api 发布时间: 20231115
...exture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inherited from Text.texture Defined in laya/display/...
来源: Laya3.0_api 发布时间: 20231115
...exture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inherited from Text.texture Defined in laya/display/...
来源: Laya3.0_api 发布时间: 20231115
... this.protocols.remove(protocol); } /** 清除所有*/ public clearAll(): void { this.protocols.clear(); } /** 销毁*/ public destroy(): void { this.socket = null; ...
来源: Laya_社区 发布时间: 20161109
...的资源 ide出现问题了,左侧总是被截了一段,请问怎么清除ide缓存 [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 打地鼠的Laya1.0想用2.0写出来总是出错 Laya2.1.1.1/2/2.2.0关闭多点触摸后在android手机上双...
来源: Laya_社区 发布时间: 20180814