• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 362 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)

321. 性能统计与优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...在视锥里面的次数,判断一次就加1,有几次判断,这个参数就是几。 视锥体裁剪是指,只对在视锥体内的物体进行渲染,超出视锥体的物体不进行渲染,从而减少不必要的渲染,提高游戏的性能表现。 Frustum Culling的数量越大,...

来源: Laya3.0_文档 发布时间: 20251010

322. laya.ui.List_API3.0 [ 43%]

... 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

323. laya.particle.Particle2D_API3.0 [ 43%]

...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

324. laya.map.MapLayer_API3.0 [ 42%]

...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

325. CPU优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 42%]

...过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

326. laya.ui.Radio_API3.0 [ 42%]

...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

327. laya.ui.ComboBox_API3.0 [ 42%]

...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

328. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 42%]

...率,物理宽高是多少,画布就有多大,该模式下设计宽高参数的设置无意义,直接设置`0,0`即可。 该模式仍需要自己定义适配规则,多用于3D游戏。如果有UI界面,不想自己定义适配规则的,后面还会介绍更优的3D适配方案。 full...

来源: Laya2.0_文档 发布时间: 20210715

329. 资源包导出与上传至商店 · LayaAir3.4 · 引擎文档 · LAYABOX [ 41%]

...s/ │ └── (项目的本地配置目录,例如构建发布的配置参数、层级配置、运行库引用配置) ├── src/ │ └── (项目源码) ├── tsconfig.json └── LayaAirProject.laya 这种“整包打包”的方式操作简便,但可能包含一些无用的...

来源: Laya3.0_文档 发布时间: 20251010

330. laya.ui.Tree_API3.0 [ 41%]

...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