大约有 1,343 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0093 秒)
Laya_社区(1146) Laya3.0_api(125) Laya2.0_文档(24) Laya3.0_文档(23) Laya2.0_api(12) laya_api(11) Laya_示例(1) Laya2.0_示例(1)
...为 0 提高性能。 批量操作 使用 addTextures 等批量 API 而非循环调用单个 API,提高效率。 定期清理 在场景切换或资源重新整理时,调用 cleanupUnusedTextures() 释放空间。 监控使用率 通过 getStatistics() 监控图集使用率,使用率接近 100%...
来源: Laya3.0_文档 发布时间: 20260131
...adius,radius2,height,slices){创建出下面半径大小 修改第二个循环结构, 也就是柱状顶点绘制 __proto.recreateResource=function(){ this._numberVertices=(this._slices+1+1)+(this._slices+1)*2+(this._slices+1+1); this._numberIndices=3 *this._slices+6 *this._slices+3 *this._sli...
来源: Laya_社区 发布时间: 20180113
...omplete:Handler = null):void 播放 Parameters loops:int (default = 1) — 循环次数 complete:Handler (default = null) — 完成回调 stop()method public function stop():void 停止播放 Sat Apr 22 2017, 10:26 AM +08:00
来源: laya_api 发布时间: 20170422
...meters nameOrIndex:* — 动画名字或者索引 loop:Boolean — 是否循环播放 force:Boolean (default = true) — false,如果要播的动画跟上一个相同就不生效,true,强制生效 start:int (default = 0) — 起始时间 end:int (default = 0) — 结束时间 freshSkin:Boo...
来源: Laya2.0_api 发布时间: 20190513
...修改之后的这个。马大哈需要谨慎使用。然后那个预制体循环嵌套的问题真的太过分了,就算是我项目资源没做好,运行的时候弹出警告窗口,不让运行就行了啊。却弹出个我永远都关不掉警告窗口,连修改排查bug的机会都没有...
来源: Laya_社区 发布时间: 20181218
...pmap) | 部分支持(仅支持是否勾选的状态) | | Wrap Mode(循环模式) | 部分支持(包括:Repeat重复、Clamp强制拉伸) | | Filter Mode(过滤模式) | 支持(包括:Point点过滤、Bilinear双线性过滤、Trilinear三线性过滤) | | Aniso Level(各...
来源: Laya2.0_文档 发布时间: 20210714
...fault value jumpFrame: boolean = false 时钟是否跳帧。基于时间的循环回调,单位时间间隔内,如能执行多次回调,出于性能考虑,引擎默认只执行一次,设置jumpFrame=true后,则回调会连续执行多次 Returns void timerOnce timerOnce(delay: number, cal...
来源: Laya3.0_api 发布时间: 20231115
...每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onP...
来源: Laya3.0_api 发布时间: 20231115
...每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onP...
来源: Laya3.0_api 发布时间: 20231115
...fault value jumpFrame: boolean = false 时钟是否跳帧。基于时间的循环回调,单位时间间隔内,如能执行多次回调,出于性能考虑,引擎默认只执行一次,设置jumpFrame=true后,则回调会连续执行多次 Returns void timerOnce timerOnce(delay: number, cal...
来源: Laya3.0_api 发布时间: 20231115