大约有 362 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
Laya_社区(191) Laya2.0_文档(106) Laya3.0_api(40) Laya3.0_文档(16) Laya2.0_示例(4) Laya2.0_api(3) Laya_示例(2)
...在视锥里面的次数,判断一次就加1,有几次判断,这个参数就是几。 视锥体裁剪是指,只对在视锥体内的物体进行渲染,超出视锥体的物体不进行渲染,从而减少不必要的渲染,提高游戏的性能表现。 Frustum Culling的数量越大,...
来源: Laya3.0_文档 发布时间: 20251010
... Defined in laya/ui/List.ts:176 单元格鼠标事件处理器(默认返回参数e:Event,index:int)。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough Defined in laya/display/Sprite.ts:260 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠...
来源: Laya3.0_api 发布时间: 20231115
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...
来源: Laya3.0_api 发布时间: 20231115
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...
来源: Laya3.0_api 发布时间: 20231115
...过Stat.FPS查看当前帧频。 1. `Laya.timer.loop`执行频率依赖于参数指定时间。 ```typescript Laya.timer.frameLoop(1, this, this.animateFrameRateBased); Laya.stage.on("click", this, this.dispose); dispose() { Laya.timer.clear(this, this.animateFrameRateBased); } ``` 当一个对象...
来源: Laya2.0_文档 发布时间: 20210714
...d in laya/ui/Button.ts:628 对象的点击事件处理器函数(无默认参数)。 implements Returns Handler Inherited from Button.clickHandler Defined in laya/ui/Button.ts:632 对象的点击事件处理器函数(无默认参数)。 implements Parameters value: Handler Returns void compon...
来源: Laya3.0_api 发布时间: 20231115
...Box.ts:445 改变下拉列表的选择项时执行的处理器(默认返回参数index:int)。 Returns Handler Defined in laya/ui/ComboBox.ts:449 改变下拉列表的选择项时执行的处理器(默认返回参数index:int)。 Parameters value: Handler Returns void selectedIndex get selectedIndex...
来源: Laya3.0_api 发布时间: 20231115
...率,物理宽高是多少,画布就有多大,该模式下设计宽高参数的设置无意义,直接设置`0,0`即可。 该模式仍需要自己定义适配规则,多用于3D游戏。如果有UI界面,不想自己定义适配规则的,后面还会介绍更优的3D适配方案。 full...
来源: Laya2.0_文档 发布时间: 20210715
...s/ │ └── (项目的本地配置目录,例如构建发布的配置参数、层级配置、运行库引用配置) ├── src/ │ └── (项目源码) ├── tsconfig.json └── LayaAirProject.laya 这种“整包打包”的方式操作简便,但可能包含一些无用的...
来源: Laya3.0_文档 发布时间: 20251010
...fined in laya/ui/Tree.ts:382 单元格鼠标事件处理器。 默认返回参数(e:Event,index:int)。 Returns Handler Defined in laya/ui/Tree.ts:386 单元格鼠标事件处理器。 默认返回参数(e:Event,index:int)。 Parameters value: Handler Returns void mouseX get mouseX(): number...
来源: Laya3.0_api 发布时间: 20231115