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

大约有 269 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0071 秒)

231. 添加或修改物理ChainCollider属性points时,报错 [ 48%]

...错。: onStageClick(e: Laya.Event): void { //停止事件冒泡,提高性能,当然也可以不要 e.stopPropagation(); //舞台被点击后,使用对象池创建子弹 let flyer: Laya.Sprite = Laya.Pool.getItemByCreateFun("bullet", this.bullet.create, this.bullet); flyer.pos(Laya...

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

232. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 47%]

...为true,否则就设置为false,这样既不影响功能,又能提高性能 2018-05-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 18120789265 相关问题 请问LayaAir中如何使图片以圆形的方式显示? 微信关系...

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

233. laya.display.Animation_API3.0 [ 46%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...

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

234. laya.display.Text_API3.0 [ 46%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...

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

235. 引擎中的修改意见 [ 46%]

... if (!url) return "null path"; //如果是全路径,直接返回,提高性能 if (url.indexOf(":") > 0) return url; //自定义路径格式化 if (customFormat != null) url = customFormat(url); var char1:String = url.charAt(0); if (char1 === ".") { return formatRelativePath((base || basePath)...

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

236. laya.display.Graphics [ 45%]

...。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)。 See alsolaya.display.Sprite.graphicsPublic Properties PropertyDefined By  cmds : ArrayGraphicsPublic Met...

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

237. laya.display.Input_API3.0 [ 45%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...

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

238. laya.ui.RadioGroup_API3.0 [ 45%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...

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

239. laya.ui.ComboBox_API3.0 [ 45%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...

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

240. laya.ui.Label_API3.0 [ 44%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...

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