大约有 2,991 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(2265) Laya2.0_文档(235) Laya_示例(147) Laya2.0_示例(117) Laya3.0_api(70) Laya2.0_api(64) laya_api(59) Laya3.0_文档(34)
...et pNewScene = <Laya.Scene3D>Util3d.getRes(this.sMapRes, false) Laya.stage.addChild(pNewScene); Util3d.getChildByPath(pNewScene, "Main Camera").active = false; let pBull = <Laya.Sprite3D>Util3d.getRes(this.sBullRes) let pEnemy = <Laya.Sprite3D>Util3d.getRes(this.sEnemyRes) pNewScen...
来源: Laya_社区 发布时间: 20200720
...ntime extends VideoRuntimeBase { onEnable(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { //Laya.loader.load("resources/files/layaAir.mp4").then(() => { this.VideoNode.play(); //播放视频 //}); ...
来源: Laya_社区 发布时间: 20251218
...e(null, function (_Scene3D: Laya.Scene3D) { //添加3D场景到舞台 Laya.stage.addChild(_Scene3D); let _camera = _Scene3D.getChildByName("Main Camera") as Laya.Camera; _camera.clearFlag = Laya.CameraClearFlags.Sky; //从场景中找到圆柱对象 let _cylinder = _Scene3D.getChildByName("Cylinder"...
来源: Laya2.0_文档 发布时间: 20210715
...D.load('scene/Game.ls', Laya.Handler.create(null, function (res:any){ Laya.stage.addChild(res); })); //用Laya.loader的方式加载,加载后根节点是Scene2D Laya.loader.load('scene/Game.ls', Laya.Handler.create(this, this.onLoaded), Laya.Handler.create(this, this.onLoading)).then( (res)=>{...
来源: Laya3.0_文档 发布时间: 20251010
...*混合模式的背景必须是在舞台画布中。比如,只设置Laya.stage.bgColor是无法实现混合模式的。动图10中采用的是Graphics的矩形。*
来源: Laya2.0_文档 发布时间: 20210715
...kerDre; img.width = 76; img.height = 110; img.pos(200 + i * 35, 230); Laya.stage.addChild(img); this.reciveOutPoker.push(img); this.outHandPoker.push(this.aaa.playerNameList[i].playerhandpoker[j]); this.lastPaixing = 1; for (let x = 0; x < this.outHandPoker.length; x++) { for (let j = 0; j <...
来源: Laya_社区 发布时间: 20180626
...sers/kahreman/laya/q3_client/trunk/bin/libs/laya.core.js:8717:17) at Stage.__proto._updateTimers (/Users/kahreman/laya/q3_client/trunk/bin/libs/laya.core.js:21413:22) 附件 : --> 2019-04-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190407
...UI界面 var testView:ui.test.TestPageUI = new ui.test.TestPageUI(); Laya.stage.addChild(testView); } } new LayaUISample; WorkerLoader.workerPath = "libs/worker.js"; 设置worker.js的路径,这个worker.js是Laya官方提供的,我们把他拷贝复制到我们自己设置的路径,这个js...
来源: Laya3.0_文档 发布时间: 20251010
...y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是否踩在地板上面了 for(var ...
来源: Laya_社区 发布时间: 20160801
...现不一致的编译错误 骨骼动画播放完后的回调时间 修改stage的scale后,会发生异常情况 自定义场景类导出layaMaxUI.ts有前缀导致报错 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”, 问题状态 ...
来源: Laya_社区 发布时间: 20180709