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

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

271. soundManger支持的音频格式有哪些? [ 82%]

... else { ...加载 "soundConfig-json" } SoundManager.playSound(soundJson[0].url,1); .... SoundManager.playSound(soundJson[1].url,1); 2018-01-02 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 请参考:HTML5音乐与音效 https://ldc.layabox.com/doc/?nav=zh-as-1-7-0   2017-02-28 0 2 分...

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

272. 怎么加载多个不同的lm模型? [ 82%]

...者传入地址数组。即可加载多个模型   Laya.loader.create([ {url:"资源目录/模型名字.lm"}, {url:"同上.lm"},  {url:"同上"},  {url:"同上"} ],Handler.create(this,onLoaded)); 2018-05-28 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 白夜行 AnimationClip.load 2018-...

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

273. laya.resource.HTMLCanvas_API3.0 [ 81%]

...dex Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors context cpuMemory destroyed gpuMemory height id obsolute referenceCount source width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemor...

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

274. 构建xcode后真机测试出现错误 [ 81%]

...on 赞同来自: 这个经查证,是构建的时候那个默认输入的 URL 是老的,这个地方应该自己填一个真正的自己的服务器的地址 游戏url:如果要打包的应用是一个在线项目,则需要提供一个启动url,指向一个js或json文件,是应用的入...

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

275. 关于HttpRequest [ 81%]

... 分享 微博 QZONE 微信 callback 赞同来自: /** * param 将要转为URL参数字符串的对象 * key URL参数字符串的前缀 * encode true/false 是否进行URL编码,默认为true * * return URL参数字符串 */ public static urlEncode(param:any, key?:any, encode:boolean = true):string...

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

276. 分享 修复webaudiosound 循环播放的声音 俩个失声问题 [ 81%]

...el.prototype; /** *播放声音 */ _proto.play = function () { // if (this.url.indexOf("music.d") != -1) { // console.log("play", this.url) // console.trace("play", this.url) // } Laya.SoundManager.addChannel(this); this.isStopped = false; this._clearBufferSource(); if (!this.audioBuffer) { // conso...

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

277. laya.display.Animation [ 81%]

...而如果是由LayaAir IDE创建的动画集,解析后的key格式为:"url#":表示动画集的默认动画模版,如果以此值为参数,会清除整个动画集数据;"url#aniName":表示相应名称的动画模版。 Animation clearTimer(caller:*, method:Function):void 清理定...

来源: laya_api 发布时间: 20170929

278. 纹理截取后内存释放不了 [ 81%]

...ar oriDBArr:Array = null;//位图源 var tex:Texture = Laya.loader.getRes(_url); for (var i:int = 0; i < list1["oriBDPos"].length; i++ ) { var g:Graphics = new Graphics(); var t:Texture = Texture.createFromTexture(tex, posObj.x, posObj.y, posObj.w, posObj.h); g.drawTexture(t, 0, 0); oriDBArr[i] =...

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

279. 场景管理 · LayaAir3.0文档 · LAYABOX [ 81%]

...的使用方式,打开一个场景 /** * 加载并打开场景 * @param url 场景地址 * @param closeOther 是否关闭其他场景,默认为true(可选),【注意】被关闭的场景,如果没有设置autoDestroyAtClosed=true,则资源可能不能被回收,需要自己手动回...

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

280. laya.d3.component.animation.KeyframeAnimations [ 81%]

...  templet : AnimationTemplet 获取动画模板。 KeyframeAnimations  url : String[write-only] 设置url地址。 KeyframeAnimationsProtected Properties PropertyDefined By  _player : AnimationPlayer动画播放器。KeyframeAnimationsPublic Methods Hide Inherited Public Methods Show Inherite...

来源: laya_api 发布时间: 20170929