大约有 1,637 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1478) Laya2.0_文档(45) Laya3.0_api(26) Laya_示例(21) Laya2.0_api(18) laya_api(17) Laya2.0_示例(16) Laya3.0_文档(16)
...aya.SkinAnimations); anniRoleMan.url = "3d/man/CunMinNan.ani"; anniRoleMan.play(); 然后发现play函数报错,现在的layaair版本是1.7.19beta,请问怎么处理 2018-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180731
...yaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode =...
来源: Laya_示例 发布时间: 20251209
...height) 参考示例: mArmature = mFactory.buildArmature(1); mArmature.play(0,true); Laya.stage.addChild(mArmature); mArmature.pos(300,600); var rect:Rectangle=new Rectangle(-420,-680,420,680); mArmature.hitArea=rect; mArmature.on(Event.CLICK,this,onClick); 2016-11-22 0 0 分享 微博 QZON...
来源: Laya_社区 发布时间: 20161122
... this.spine.skinName = "full-skins/girl"; // 设置皮肤名称 this.spine.play("idle", false); // 播放名称为"idle"的动画,false表示不循环播放 }); } } 2、Spine面板属性说明 2.1 渲染图层 layer 渲染图层主要用于是否被2D光照系统影响以及其它渲染层相关...
来源: Laya3.0_文档 发布时间: 20251128
...或静音状态下播放背景音乐无效的解决方案 SoundManager.playSound=function(url,loops,complete,soundClass,startTime){ (loops===void 0)&& (loops=1); (startTime===void 0)&& (startTime=0); if(!url) return null; SoundManager._recoverWebAudio(); url=URL.formatURL(url); if ...
来源: Laya_社区 发布时间: 20181019
...cted All Inherited Externals Only exported Menu Globals "laya/ani/AnimationPlayer" AnimationPlayer Class AnimationPlayer AnimationPlayer 类用于动画播放器。 Hierarchy EventDispatcher AnimationPlayer Index Constructors constructor Properties isCache playbackRate returnToZeroStopped Accessors ...
来源: Laya3.0_api 发布时间: 20231115
iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return n...
来源: Laya_社区 发布时间: 20190115
...ody.y = -100; this.body.interval = 50; this.addChild(this.body); this.body.play(0, true, "hero_fly"); } private body: Laya.Animation; private onBtn2Click(): void { this.body.destroyChildren(); this.body.clear(); this.body.destroy(); } 调试面板中的sprite个DrwaCall都有变化,但是CurMern...
来源: Laya_社区 发布时间: 20170615
...在加载完成后随即播放音频/视频*/ public var autoplay:Boolean; /**返回表示音频/视频已缓冲部分的 TimeRanges 对象*/ public var buffered:*; /**设置或返回音频/视频是否显示控件(比如播放/暂停等)*/...
来源: Laya_社区 发布时间: 20170228
...ew Laya.Animation(); container.addChild(ani); ani.loadAtlas('1.json'); ani.play(); ani.pos(300,0); const d1 = 484; const d2 = 1438; const d3 = 950; const d4 = 1920; const container2 = new Laya.Sprite(); Laya.stage.addChild(container2); const mask2 = new Laya.Sprite(); mask2.graphics.drawPoly(d1, 0, ...
来源: Laya_社区 发布时间: 20170915