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

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

941. 安卓手机下 libwebsocket_write error! 大概一个小时->一个半小时 [ 45%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 在线急等,发现你们这个编译器一个bug,不能实现负负得正 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后...

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

942. 请教各位前辈们,AS的一些API好像layabox没有,求解决方法或者思路,比如 Point 的interpolate方法 具体问题内详 [ 45%]

...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

943. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 44%]

...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

944. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

...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

945. Laya2.0 内嵌模式、加载模式、分离模式、文件模式的场景加载创建和场景打开关闭 [ 43%]

..../否则编译报错),新建一个LayaIde.scene场景 代码结构:Main.js和上面不一样,不做任何更改项目已经设置起始场景Laya.scene,LayaUI.js是Laya.scene的runtime逻辑类,代码如下   项目下载: Demo.zip 附件 : --> 2018-10-28 1 条评论 免费帖 --> 分...

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

946. 深入理解LayaAir引擎架构和实现原理(三)引擎渲染主循环与AOP介入控制 [ 43%]

...帧步进调试。 1.引擎启动入口​ 工程的入口文件一般为Main.ts,这里面不仅需要处理项目相关的逻辑初始化,也会调用Laya3D.init()进行Laya引擎的初始化。 在init中,可以看到创建了两个画布,mainCanvas是引擎的主画布,所有游戏内...

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

947. unity中的模型导出后在laya中显示不正常 [ 43%]

...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

948. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 43%]

...动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

949. h5 游戏在ios15更新以后出现了显示显示问题 [ 43%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 游戏运行在chrome里面 听不见声音 加载到舞台的3D模型不显示贴图 成都雨墨游戏 求 laya 程序开发人员 求高...

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

950. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 42%]

..., 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