大约有 750 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)
Laya_社区(360) Laya3.0_api(144) Laya2.0_api(100) laya_api(93) Laya2.0_文档(32) Laya3.0_文档(17) Laya2.0_示例(3) Laya_示例(1)
有没有办法获取音乐播放状态? 比如获取某个音乐当前是否正在播放? 2017-02-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 你具体要获取音乐的什么状...
来源: Laya_社区 发布时间: 20170228
...片不受大图合集管理: 在资源加载完成之后、使用之前获取到该资源,然后设置enableMerageInAtlas = false即可。 代码如下所示:var texture:Texture = Laya.loader.getRes(url); texture.bitmap.enableMerageInAtlas = false; 2017-08-21 1 条评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20170821
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...
来源: Laya3.0_api 发布时间: 20231115
...问题请先登录 发起人 daohu 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? 关于使用matterjs物理引擎鼠标问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 想让一个2D的图形被鼠标点击...
来源: Laya_社区 发布时间: 20170907
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
googleplay资源zip包,入口页无法获取 因为要接入googleplay,所以把layadcc之后的资源,都单独打包zip文件放到了手机目录中的storage\emulated\0\com.layabox.conch5\resource.zip中。 在游戏中加载入口页的话,还是用的本地加载mPlugin.game_plugin_se...
来源: Laya_社区 发布时间: 20180327
...预加载,进行缓存处理,然后下次播放声音时直接从缓存获取。 Laya.loader.load([{url:"xxx.mp3",type:Loader.SOUND}],Handler.create(this,onComped)) 2016-12-13 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 feini 相...
来源: Laya_社区 发布时间: 20161213
... Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial horizonColor : Vector4 获取地平线颜色。 WaterPrimaryMaterial mainTexture : BaseTexture 获取...
来源: Laya2.0_api 发布时间: 20190513
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALBEDOCOLOR ALBEDOCOLOR: number Defined in laya/d3/core/material/UnlitMaterial....
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...
来源: Laya3.0_api 发布时间: 20231115