大约有 331 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
Laya3.0_api(134) Laya_社区(105) Laya2.0_api(73) Laya2.0_文档(6) Laya3.0_文档(5) laya_api(4) Laya2.0_示例(3) Laya_示例(1)
...hrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 关于Laya实现Matter.js官方案例凹多边形的问题 用了第三方...
来源: Laya_社区 发布时间: 20200607
...Event):void { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不为空表示场景已加载完成 garbageCollection(); break; } /** * @private 销毁场...
来源: Laya2.0_文档 发布时间: 20210715
....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...
来源: Laya3.0_api 发布时间: 20231115
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya3.0_api 发布时间: 20231115
...his._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @pr...
来源: Laya2.0_文档 发布时间: 20210715
...vent rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contain...
来源: Laya3.0_api 发布时间: 20231115
....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...
来源: Laya3.0_api 发布时间: 20231115
...hrome出现错误: Error processing launch: Error Could not attach to main target 微信小游戏如何使用ttf字体? iphone自带浏览器页面怎么锁定 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 图集打包找不到图集文件 版本不匹配! 全局 tsc (2....
来源: Laya_社区 发布时间: 20190221
...s.searchButton(child); } } } //处理按钮缩放事件 onButtonScaleEvent(target: Laya.Button) { target.on(Laya.Event.MOUSE_DOWN, this, this._onScaleBtnDown); target.on(Laya.Event.MOUSE_UP, this, this._onScaleBtnOut); } //按钮放大 _onScaleBtnDown(e: Laya.Event) { console.log("开始缩放"); e....
来源: Laya3.0_文档 发布时间: 20251010
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya3.0_api 发布时间: 20231115