大约有 4 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0038 秒)
...a{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIENT_TYPE:string = 'js-websocket'; private JS_WS_CLI...
来源: Laya_社区 发布时间: 20180119
...ructors constructor new NativeUniformBufferObject(glPointer: number, name: string, bufferUsage: BufferUsage, byteLength: number, isSingle: boolean): NativeUniformBufferObject Overrides UniformBufferObject.constructor Defined in laya/d3/RenderObjs/NativeOBJ/NativeUniformBufferObject.ts:7 Parameters g...
来源: Laya3.0_api 发布时间: 20231115
...串。如果请求未完成或失败,则该值为 null responseText DOMString 此次请求的响应为文本,或是当请求未成功或还未发送时为 null只读。 responseType XMLHttpRequestResponseType 设置该值能够改变响应类型。就是告诉服务器你期望的响应格式。...
来源: Laya3.0_文档 发布时间: 20250104
...也可以省略这个声明 static test(this: IEditorEnv.IGameScene, msg: string) { console.log(msg); //hello return "ok"; } } //下面是UI进程的代码 let ret = await Editor.scene.runScript("TestSceneScript.test", "hello"); console.log(ret); //ok 特别的用法,可以通过window对象调用...
来源: Laya3.0_文档 发布时间: 20251010