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

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

8921. laya.ani.GraphicsAni_API3.0 [ 37%]

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

8922. laya.ui.AutoBitmap [ 37%]

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

8923. laya.effect.EffectBase_API3.0 [ 37%]

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

8924. 请问我用网络格式加载成功后,在服务器替换image.atlas和images.png重新打开小游戏没有重新加载服务器的png,只重新加载了atlas [ 37%]

...? 请问laya有没有地图编辑器工具? 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问在layaIDE里,怎么调用微信小程序API 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 微信小程序—未找到入口 app.json 文件,或者...

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

8925. 关于多个小动画打包到一个图集动画的问题 [ 37%]

...还是通过Animation.createFrames去创建动画,图集下的小图的获取可以参考下:http://ask.layabox.com/question/486 JianHao • 2017-03-31 15:31 我把图集的.json跟.png还有.atlas这三个文件拿出来,我下载的Laya引擎就没有小图了啊,就算这样引了会报找...

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

8926. laya.d3.core.particleshuriken.module.GradientSize_API3.0 [ 37%]

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

8927. 分享个用美术资源做位图文本的方法。。。 [ 36%]

...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享:打地鼠 AS、JS、TS版本 Demo! 文本如何自动换行 分享:适配LayaAir版本的PureMV...

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

8928. 屏幕适配的缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 36%]

...通过laya.utils.Browser.clientWidth和laya.utils.Browser.clientHeight来获取屏幕的宽与高。 **6、物理宽高:** ​ 关于设备屏幕的物理宽高,我们需要先了解像素密度的概念。在PC电脑上,通常一个像素位置上就是一个物理像素。在移动设备高...

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

8929. 网络通信 · LayaAir3文档 · LAYABOX [ 36%]

...和服务器之间传输数据的功能。它提供了一个通过 URL 来获取数据的简单方式,并且不会使整个页面刷新。这使得网页只更新一部分页面而不会打扰到用户。 1,属性 属性 类型 描述 onreadystatechange function 一个JavaScript函数对象,...

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

8930. laya.effect.FadeOut_API3.0 [ 36%]

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