大约有 480 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0045 秒)
Laya_社区(378) Laya3.0_文档(21) Laya3.0_api(21) Laya2.0_文档(21) Laya2.0_api(14) laya_api(14) Laya_示例(6) Laya2.0_示例(5)
...t].x, this.path[this.nextPathIndex++ % this.pointCount].z); }); Laya.timer.loop(40, this, loopfun); } function loopfun() { if (this._everyPath && this.index ; private _everyPath: any; private _position: Laya.Vector3 = new Laya.Vector3(0, 0, 0); private _upVector3: Laya.Vector3 = new Laya.Vector3(0, ...
来源: Laya_示例 发布时间: 20260106
...url = URL.createObjectURL(video_file); var video = new Laya.Video(); video.loop = true; video.load(blob_url); Laya.stage.addChild(video); video.play(); v = video; Laya.timer.once(5000, this, function() { v.destroy(); }); }顺便提供一个简单的修复方法: laya.device.js Line 623: 增加以...
来源: Laya_社区 发布时间: 20170515
... new Handler(this, onChange); Laya.stage.addChild(progressBar); Laya.timer.loop(100, this, changeValue); } function changeValue() { if (progressBar.value >= 1) progressBar.value = 0; progressBar.value += 0.05; } function onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } }...
来源: Laya2.0_文档 发布时间: 20210715
...se isPlaying : Boolean[read-only] 是否正在播放中。 AnimationBase loop : Boolean是否循环播放,调用play(...)方法时,会将此值设置为指定的参数值。AnimationBase mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩...
来源: Laya2.0_api 发布时间: 20190513
...小至后台事件:"+(!e.hidden ? "前置显示":"后台隐藏")); isStopLoop = e.hidden; if (e.hidden) { _isVisibility = false; if (_this._isInputting()) Input["inputElement"].target.focus = false; } else { _isVisibility = true; } _this.event(Event.VISIBILITY_CHANGE); }); public static var is...
来源: Laya_社区 发布时间: 20171011
...(); //加载地面 this.loadGround(); //加载墙面 this.loadwall(); this.loopShoot(); } public loopShoot(): void{ Laya.timer.loop(1000, this, this.shootBall); } public shootBall(): void{ //生成空中降落的球 //var random: number = Math.random()*24-7; let ball: Laya.MeshSprite3D = new Laya...
来源: Laya_社区 发布时间: 20190506
LayaAir IDE 【3D动画播放】 关于islooping覆盖问题,想请教一下 目前存在疑惑: islooping 写一个会影响所有。 问题:描述 一个 person.lh 文件,克隆出来的十个person。分别各自获取到自己的身上的Animator,然后剪辑动画,run...
来源: Laya_社区 发布时间: 20191101
...der2.5 皮肤名称 skinName2.6 动画名称 animationName2.7 循环播放 loop2.8 预览 preview2.9 物理更新 physicsUpdate2.10 自动调整 autoAdjust2.11 位置偏移 offset2.12 预乘Alpha premultipliedAlpha3、外部皮肤 externalSkins(换部件)3.1 引入外部皮肤资源3.2 替换不...
来源: Laya3.0_文档 发布时间: 20251128
...er = new Handler(this, null); Laya.stage.addChild(progressBar); Laya.timer.loop(300, this, changeValue); } function changeValue() { if (progressBar.value >= 1){ progressBar.value = 0; Laya.stage.removeSelf(); //将登录页面从内存销毁 // Laya.stage.destroy(); Laya.stage.addChild(new gameli...
来源: Laya_社区 发布时间: 20171230
...显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ Laya.timer.loop()如何停止 Laya拖尾怎么停止或清除,比如要瞬移角色的时候停止。伤脑壳~~!! 求教: soundManager如何停止正在播放的背景音乐 用Laya.stage.addChild(new testUI());后,原来让页...
来源: Laya_社区 发布时间: 20170330