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

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

281. laya.ui.Radio_API3.0 [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...

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

282. laya.display.Sprite [ 65%]

...列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获...

来源: Laya2.0_api 发布时间: 20190513

283. 关于removechild、destory、clear的问题 [ 65%]

...令对绘图效果进行变化。Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)...

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

284. laya.ui.TextArea_API3.0 [ 64%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...

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

285. LayaAirIDE 3.0.0里的renderType去哪儿了?? [ 64%]

...建项目,界面异常,控件重叠,怎么解决? LayaAirIDE 可以通过命令行打包成微信小游戏吗? LayaAirIDE需要ts编译环境,是否安装? layaAirIDE构建的Android项目,调试不了! 问题状态 最新活动: 2023-02-03 15:37 浏览: 3274 关注: 3 人 宿野 ...

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

286. laya.ui.Clip_API3.0 [ 64%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...

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

287. laya.ui.ComboBox_API3.0 [ 64%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...

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

288. 定义了var 但是this.xxx显示红色线 求指教 [ 64%]

...ts脚本创建的方式this.xx(var变量)会提示红色线  无法编译通过  社区说的分离模式什么的我这边都试过没啥变化   但是直接输出 this的话  是确实有这个btn_list属性的 0.0   能指点一下吗   附件 : --> 2019-03-08 添加评论 免费帖 --> ...

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

289. 多线程Worker · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...序中的所有脚本一起在单个 UI 线程中运行。虽然你可以通过使用文档对象模型 (DOM) 事件和 setTimeout等API 造成一种多个任务同时在运行的假象,但只需一个计算密集型任务就会使用户体验急转直下。在html5引入了worker的功能,通...

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

290. laya.d3.core.particleshuriken.module.GradientDataNumber_API3.0 [ 64%]

...r Defined in laya/d3/core/particleShuriKen/module/GradientDataNumber.ts:48 通过索引获取键。 Parameters index: number 索引。 Returns number value 键。 getValueByIndex getValueByIndex(index: number): number Defined in laya/d3/core/particleShuriKen/module/GradientDataNumber.ts:57 通过索...

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