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

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

241. laya.ui.Clip_API3.0 [ 48%]

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

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

242. laya.ui.Image_API3.0 [ 48%]

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

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

243. laya.ui.FontClip_API3.0 [ 47%]

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

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

244. laya.ui.Dialog_API3.0 [ 47%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 closeEffect closeEffect: Handler Defined in laya/ui/Dialog.ts:186 关闭对话框效果,可以设置一个效果代替默认的关闭效果,如果不想有任何效果,可以赋值为null 全局...

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

245. laya.ui.UIGroup_API3.0 [ 47%]

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

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

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

...错。: 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

247. Config_API3.0 [ 47%]

...rmanceCaveat: boolean = false Defined in Config.ts:54 表明在一个系统性能低的环境是否创建该上下文的boolean值 Static powerPreference powerPreference: WebGLPowerPreference = "default" Defined in Config.ts:56 Static premultipliedAlpha premultipliedAlpha: boolean = true Defined in ...

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

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

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

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

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

250. 引擎中的修改意见 [ 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