大约有 486 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
...在手机上会自动播放, // 2. 设置循环属性 this.mediaPlayer.loop = loop; // 3. 检查文件路径 const videoPath = "resources/Media/" + mediaName; // 4. 设置视频源 this.mediaPlayer.source = videoPath; 我没...
来源: Laya_社区 发布时间: 20251022
...111/.com/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array(this._floatCountPerVertex * lastVBVertexCount); ^^ RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Float32Array (<anonymous>) at ShurikenParticl...
来源: Laya_社区 发布时间: 20211211
...onLoad回调方法 Laya.loader.load("res/atlas/ui.atlas", Handler.create(this, onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```java //创建一个Animation实例 var tl:Animation = new Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani"); ``` 第三步:添...
来源: Laya2.0_文档 发布时间: 20210715
...leMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.bgColorTweener = new Tween(); this.setup(); } setup() { this.createPhoenixes(); // 动态背景渲染 this.evalBgColor(); Laya.timer.frameLoop(1, this, this.renderBg); } createPhoenixes() { let scaleFactor = Math.min( La...
来源: Laya2.0_示例 发布时间: 20251130
...scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); play(); } private function onEvent(e:*):void { var tEventData:EventData = e as EventData; Laya.stage.addChild(mLabelSprite); mLabelSprite.x = mStartX; mLabel...
来源: Laya_社区 发布时间: 20170406
...用来做测试的功能,不着急解决的let input = new Laya.Input() this.changeIDBtn.displayObject.addChild(input) input.y = -200; input.x = -200; input.text = 2000 + "" 附件 : --> 2021-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20211205
...ions; skinAni.templet = Laya.AnimationTemplet.load(this.skinAniUrl[0]); skinAni.player.play(); } for (var i: number = 0, n: number = spirit3D._childs.length; i < n; i++) this.addSkinComponent(s...
来源: Laya_社区 发布时间: 20180724
...ePhoenixes(); // 动态背景渲染 evalBgColor(); Laya.timer.frameLoop(1, this, renderBg); } function createPhoenixes() { var scaleFactor = Math.min( Laya.stage.width / (phoenixWidth * 2), Laya.stage.height / phoenixHeight); // 加了混合模式的凤凰 var blendedPhoenix = createAnimation(); ble...
来源: Laya_示例 发布时间: 20251130
...行这个self.filters = []操作试一下 a372853273 • 2018-02-10 12:16 this._$P.filters != t && (this._set$P("filters", t ? t.slice() : null), laya.core.min.js里面这一行代码报错。 a372853273 • 2018-02-10 12:16 好的 我试试 a372853273 • 2018-02-10 15:19 @qian:...
来源: Laya_社区 发布时间: 20180210
... QZONE 微信 adam 赞同来自: 你好,是我弄错了,另外,请问this.frameLoop(1,this,spinOnEnterframe);,我怎么清除这个frameLoop呢 2017-01-07 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 adam 相关问题 编译调...
来源: Laya_社区 发布时间: 20170107