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

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

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

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

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

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

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

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

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

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

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

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

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

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

329. [LayaNative3]3.2.0-beta2的windows模拟器启动黑屏 [ 41%]

...高刷新率。提议将【Laya.stage.frameRate】改为接收number类型参数。即【Laya.stage.frameRate = 120】即可实现120帧刷新率,使用【Laya.stage.frameRate = 0】替代【Laya.Stage.FRAME_MOUSE】,而【Laya.stage.frameRate = -1】则不限制刷新率,自动跑满设备...

来源: Laya_社区 发布时间: 20240701

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

...dler Defined in laya/ui/ScrollBar.ts:46 滚动变化时回调,回传value参数。 disableDrag disableDrag: boolean = false Inherited from ScrollBar.disableDrag Defined in laya/ui/ScrollBar.ts:66 调用滚动停止接口stopMoveLimit时,是否禁止内容的拖拽 downButton downButton: Button I...

来源: Laya3.0_api 发布时间: 20231115