大约有 457 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0058 秒)
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...成场景类了,此时该如何获得场景内的元素 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 请问下loader如何强制加载一个文件,避免浏览器的缓存 微信小游戏中访问带空格的文件出错 .sk , .lm , .ltc , .lh, .ani等后缀名...
来源: Laya_社区 发布时间: 20171214
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...复杂计算4.4 尽量少用autoSize与getBounds4.5 被try catch的函数执行会变得非常慢五、使用chrome的性能分析器5.1 CPU占用分析5.2 内存占用分析六、纹理压缩的使用性能优化 一、 内存优化方式 1.1 通过对象池优化内存 对象池优化是游戏开...
来源: Laya3.0_文档 发布时间: 20251010
...击到[开始]按钮的位置的时候,我的这个new LayaAir3D()又被执行了一次。导致场景中的地形被重复添加组件。 我想知道,为什么这里没有关闭Scene,而我的页面仍然被隐藏了呢。 2020-05-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20200505
...输入顶点到输出顶点必须存在1:1映射。 顶点着色器通常执行到投影后空间的转换,以供顶点后处理阶段使用。它们还可以用于进行每个顶点的照明,或用于后续着色器阶段的设置工作。 **片元着色器(Fragment shader)** :片段着...
来源: Laya2.0_文档 发布时间: 20210714
...值为-1。 UIGroup selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup selection : ISelect 获取或设置当前选择的项对象。 UIGroup skewX : Number水平倾斜角度,默认值为0。以角度为单位...
来源: Laya2.0_api 发布时间: 20190513
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...font属性区别,fillText示例代码如下: /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.graphics.fillText("fillText:引擎绘制的文本,适...
来源: Laya3.0_文档 发布时间: 20251010