大约有 54 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0033 秒)
...p.baidu.com/api?v=2.0&ak=LIhOlvWfdiPYMCsK5wsqlFQD8wW4Bfy6&s=1&callback=appendCode"></script> 一、首先介绍成员变量: // 百度地图 private map: any;// 地图引用 private marker: any;// 地图标注物 private BMap: any = Laya.Browser.window.BMap;// 百度地图命...
来源: Laya3.0_文档 发布时间: 20240910
...o控制台打印的信息为:network type: 1。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-01-03 16:42:22 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20250103
...(基于帧率)。 * @param delay 延迟几帧(单位为帧)。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调参数。 * @param coverBefore 是否覆盖之前的延迟执行,默认为 true 。 */ frameOnce(delay: number, caller: any, method: Functi...
来源: Laya3.0_文档 发布时间: 20240910
...。 * @param createFun 用于创建该类型对象的方法。 * @param caller this对象 * @return 此类型标识的一个对象。 */ static getItemByCreateFun(sign: string, createFun: Function, caller: any = null): any { var pool: any[] = Pool.getPoolBySign(sign); var rst: any = pool.length ? po...
来源: Laya3.0_文档 发布时间: 20240910
...s.push(Laya.loader.load(url)); tasks.push(Laya.loader.load(url2)); Promise.all(tasks).then((res:Array<any>)=> { //用于异步加载 }); 1.4 Texture和Texture2D的问题 同一个资源地址,无论是加载Texture还是Texture2D,他们在内存中都只有一份,但可以获取不同...
来源: Laya3.0_文档 发布时间: 20250310
...器能够接收事件通知。 * @param type 事件的类型。 * @param caller 事件侦听函数的执行域。 * @param listener 事件侦听函数。 * @param args (可选)事件侦听函数的回调参数。 * @return 此 EventDispatcher 对象。 */ on(type: string, caller: any, listener: ...
来源: Laya3.0_文档 发布时间: 20240910
...,可以查看文档《使用百度地图》。 Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:27:13 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20240910
... } } 效果如动图3-1所示: (动图3-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:26:58 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20240910
...Laya.Browser.onChrome) { console.log("Chrome"); } Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:27:12 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20240910
...a?: boolean, hdrEncodeFormat?: HDREncodeFormat, } Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:27:12 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20240910