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

大约有 1,040 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)

911. 动画-旧版骨骼动画 [ 44%]

...tion = new Laya.Quaternion(-0.7071068, 0, 0, -0.7071068); zombie.transform.position = new Laya.Vector3(0.3, 0, 0); addSkinComponent(zombie); loadUI(); }); var skinAniUrl = [ "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@walk-walk.lsani", "../../res/threeDimen/skinModel/Zombie/old/...

来源: Laya_示例 发布时间: 20260303

912. 视频节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

... = new Laya.VideoNode; //添加到舞台 Laya.stage.addChild(video); video.pos(200,200); //设置位置 video.source = "resources/layaAir.mp4"; //设置视频源文件 video.play(); //开始播放 } } Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 1...

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

913. 1.7.13打包发布web版本报错 [ 44%]

...es\uglify-js\lib\parse.js:204 throw new JS_Parse_Error(message, line, col, pos); ^ Error at new JS_Parse_Error (D:\LayaAirIDE_1.7.13\resources\app\node_modules\uglify-js\lib\parse.js:196:18) at js_error (D:\LayaAirIDE_1.7.13\resources\app\node_modules\uglify-js\lib\parse.js:204:11) at parse_error (D...

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

914. 骨骼动画-多纹理 [ 43%]

...ure = mFactory.buildArmature(1); Laya.stage.addChild(mArmature); mArmature.pos(mStartX, mStartY); mArmature.scale(0.5, 0.5); mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); } completeHandler() { this.play(); } play() { mCurrIndex++; let aniNum = mArmature.getAnimNum(); if ...

来源: Laya2.0_示例 发布时间: 20260303

915. html固定宽高,设置垂直居中没有效果。只有水平居中才生效。看了下源码,感觉在updatePos函数里的算法不对 [ 43%]

...有效果。只有水平居中才生效。看了下源码,感觉在updatePos函数里的算法不对 html固定宽高,设置垂直居中没有效果。只有水平居中才生效。看了下源码,感觉在updatePos函数里对垂直居中的算法不对 2018-01-04 添加评论 免费帖 --> ...

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

916. 截屏函数异常E/LayaBox:className:layaair/game/browser/ExportJavaFunction,methodName:captureScreen [ 43%]

...措 修改stage的scale后,会发生异常情况 Text类中竟然没有pos函数的api~ 1.7.15 小游戏3d 发布后在手机预览显示异常 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”, 问题状态 最新活动: 2018-02-27 14:5...

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

917. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 43%]

...templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play) this.play(); } private onError(): void{ console.log("parse error"); } private pl...

来源: Laya2.0_文档 发布时间: 20210715

918. 骨骼动画-藤蔓 [ 43%]

...ure = mFactory.buildArmature(1); Laya.stage.addChild(mArmature); mArmature.pos(mStartX, mStartY); mArmature.scale(0.5, 0.5); mArmature.on(Event.STOPPED, this, this.completeHandler); this.play(); } completeHandler() { this.play(); } play() { mCurrIndex++; let aniNum = mArmature.getAnimNum(); if (mCur...

来源: Laya2.0_示例 发布时间: 20260303

919. laya.ui.AdvImage_API3.0 [ 43%]

...hild callLater clearTimer contains customRender destroy destroyChildren dispose drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getS...

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

920. laya.display.Stage_API3.0 [ 43%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render renderToNative repaint replaceChild runCallLater scale setChildIndex setGraphics setScreenSize setScreenSizeForScene setSelfBounds set_a...

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