大约有 9,044 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0115 秒)
Laya_社区(8096) Laya3.0_api(304) Laya2.0_api(209) Laya2.0_文档(174) laya_api(166) Laya3.0_文档(76) Laya_示例(11) Laya2.0_示例(8)
... Inherited from Graphics.getBounds Defined in laya/display/Graphics.ts:201 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Parameters Default value realSize: boolean = false (可选)使用图片的真实大小,默认为false Returns Rectangle 位...
来源: Laya3.0_api 发布时间: 20231115
...texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加...
来源: Laya2.0_api 发布时间: 20190513
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/c...
来源: Laya3.0_api 发布时间: 20231115
...? 请问laya有没有地图编辑器工具? 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问在layaIDE里,怎么调用微信小程序API 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 微信小程序—未找到入口 app.json 文件,或者...
来源: Laya_社区 发布时间: 20180613
...还是通过Animation.createFrames去创建动画,图集下的小图的获取可以参考下:http://ask.layabox.com/question/486 JianHao • 2017-03-31 15:31 我把图集的.json跟.png还有.atlas这三个文件拿出来,我下载的Laya引擎就没有小图了啊,就算这样引了会报找...
来源: Laya_社区 发布时间: 20170330
...number Defined in laya/d3/core/particleShuriKen/module/GradientSize.ts:266 获取最大尺寸。 Parameters Default value meshMode: boolean = false Returns number Static createByGradient createByGradient(gradient: GradientDataNumber): GradientSize Defined in laya/d3/core/particleShuriKen/module/Grad...
来源: Laya3.0_api 发布时间: 20231115
...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享:打地鼠 AS、JS、TS版本 Demo! 文本如何自动换行 分享:适配LayaAir版本的PureMV...
来源: Laya_社区 发布时间: 20161014
...通过laya.utils.Browser.clientWidth和laya.utils.Browser.clientHeight来获取屏幕的宽与高。 **6、物理宽高:** 关于设备屏幕的物理宽高,我们需要先了解像素密度的概念。在PC电脑上,通常一个像素位置上就是一个物理像素。在移动设备高...
来源: Laya2.0_文档 发布时间: 20200307
...和服务器之间传输数据的功能。它提供了一个通过 URL 来获取数据的简单方式,并且不会使整个页面刷新。这使得网页只更新一部分页面而不会打扰到用户。 1,属性 属性 类型 描述 onreadystatechange function 一个JavaScript函数对象,...
来源: Laya3.0_文档 发布时间: 20250104
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...
来源: Laya3.0_api 发布时间: 20231115