大约有 129 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(53) Laya2.0_文档(22) Laya3.0_文档(18) Laya3.0_api(14) Laya2.0_api(9) laya_api(8) Laya2.0_示例(5)
...即序列化),通过.finish()返回一个 Uint8Array类型的二进制缓冲区。 const greetingBuffer = this.ChatMessage.encode(greetingMessage).finish(); //socket不为 null 或 undefined时,将二进制数据 greetingBuffer 通过 WebSocket 发送到服务器。 this.socket?.send(greetingB...
来源: Laya3.0_文档 发布时间: 20251010
... 3.2 索引数据格式index Format 索引数据用于确定顶点在顶点缓冲区中的位置,从而构建几何体的形状。该属性用于控制这些索引数据的精度和范围,从而影响渲染的性能和质量。 如图3-2所示,该属性有自动、UInt16位、UInt32位这三...
来源: Laya3.0_文档 发布时间: 20251010
... canvasReCache: number = 0 Defined in laya/utils/Stat.ts:113 画布 canvas 缓冲区重绘次数。 Static cpuMemory cpuMemory: number Defined in laya/utils/Stat.ts:118 资源管理器所管理资源的累计内存,以字节为单位。 Static gpuMemory gpuMemory: number Defined in laya/utils/Stat.t...
来源: Laya3.0_api 发布时间: 20231115
... false; this.destroy(true); }; //通过传入粒子特效的路径,清除缓冲池 static ClearPool(root_path: string): void { if (root_path == null) { root_path = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5...
来源: Laya3.0_文档 发布时间: 20251010
... false; this.destroy(true); }; //通过传入粒子特效的路径,清除缓冲池 static ClearPool(root_path: string): void { if (root_path == null) { root_path = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5...
来源: Laya3.0_文档 发布时间: 20250104
...们先看下mdn上的一个例子。在这个例子中, 创建一个2秒的缓冲器,并用白噪音填充它, 然后通过[`AudioBufferSourceNode`](https://developer.mozilla.org/zh-CN/docs/Web/API/AudioBufferSourceNode)来播放它. 注释里说明了它的功能。 ```javascript var audioCtx = new...
来源: Laya2.0_文档 发布时间: 20210714
...们先看下mdn上的一个例子。在这个例子中, 创建一个2秒的缓冲器,并用白噪音填充它, 然后通过[`AudioBufferSourceNode`](https://developer.mozilla.org/zh-CN/docs/Web/API/AudioBufferSourceNode)来播放它. 注释里说明了它的功能。 ```javascript var audioCtx = new...
来源: Laya2.0_文档 发布时间: 20210715
...们先看下mdn上的一个例子。在这个例子中, 创建一个2秒的缓冲器,并用白噪音填充它, 然后通过[`AudioBufferSourceNode`](https://developer.mozilla.org/zh-CN/docs/Web/API/AudioBufferSourceNode)来播放它. 注释里说明了它的功能. ```javascript var audioCtx = new (...
来源: Laya2.0_文档 发布时间: 20210715
...们先看下mdn上的一个例子。在这个例子中, 创建一个2秒的缓冲器,并用白噪音填充它, 然后通过[`AudioBufferSourceNode`](https://developer.mozilla.org/zh-CN/docs/Web/API/AudioBufferSourceNode)来播放它. 注释里说明了它的功能。 ```javascript var audioCtx = new...
来源: Laya3.0_文档 发布时间: 20251010