大约有 967 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
...动chrome出现错误: Error processing launch: Error Could not attach to main target 在线急等,发现你们这个编译器一个bug,不能实现负负得正 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后...
来源: Laya_社区 发布时间: 20211203
...phics.drawPoly(p1.x, p1.y,path1,"#FF7F50"); } 会报错 main.max.js:1595 Uncaught TypeError: Cannot read property 'sourceWidth' of undefined 还有 _mx.createGradientBox 和 graphics.beginGradientFill 实在不知道用啥方法来替换了。哎 具体的可以看源码 源...
来源: Laya_社区 发布时间: 20160627
...rollup-plugin-glsl')); let cache; const config = { input: projPath + '/src/Main.ts', output: { file: projPath + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: true, }, cache: cache, watch: { include: 'src/**', exclude: 'node_modules/**', }, onwarn: (waring, warn) => { if (waring.co...
来源: Laya_社区 发布时间: 20201223
...mon.glsl"; #include "PBRVertex.glsl"; varying float spriteCustomData; void main() { Vertex vertex; getVertexParams(vertex); PixelParams pixel; initPixelParams(pixel, vertex); gl_Position = getPositionCS(pixel.positionWS); gl_Position = remapPositionZ(gl_Position); spriteCustomData = NodeCustomData0;...
来源: Laya3.0_文档 发布时间: 20251010
..../否则编译报错),新建一个LayaIde.scene场景 代码结构:Main.js和上面不一样,不做任何更改项目已经设置起始场景Laya.scene,LayaUI.js是Laya.scene的runtime逻辑类,代码如下 项目下载: Demo.zip 附件 : --> 2018-10-28 1 条评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20181028
...帧步进调试。 1.引擎启动入口 工程的入口文件一般为Main.ts,这里面不仅需要处理项目相关的逻辑初始化,也会调用Laya3D.init()进行Laya引擎的初始化。 在init中,可以看到创建了两个画布,mainCanvas是引擎的主画布,所有游戏内...
来源: Laya_社区 发布时间: 20200925
...OADED, this, function (sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 200)); //移动camera });2.问题2:加载完看官方的demo要加相机和灯光,这个怎么不用加灯光和相机都能显示出来呢? 答:1)这...
来源: Laya_社区 发布时间: 20170828
...动chrome出现错误: Error processing launch: Error Could not attach to main target ide 2.4 layaair2-cmd 编译报错 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject'...
来源: Laya_社区 发布时间: 20211013
...动chrome出现错误: Error processing launch: Error Could not attach to main target IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 游戏运行在chrome里面 听不见声音 加载到舞台的3D模型不显示贴图 成都雨墨游戏 求 laya 程序开发人员 求高...
来源: Laya_社区 发布时间: 20210923
..., 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) pNewScene.addChild(pBull); pNewScene.addChild(pEnemy); let tPosBull =...
来源: Laya_社区 发布时间: 20200720