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

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

211. layaAir2.0动效模板报错Uncaught Can not find class ui.aniTemplates.bigToSmallUI [ 65%]

...模板报错 Uncaught Can not find class ui.aniTemplates.bigToSmallUI 在1.0上同样的步骤是没有问题的 2018-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 下个版本之...

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

212. laya2.6.0无法打开chrome浏览器运行,低版本的laya正常 [ 65%]

...chrome调试的话,会提示 Windows找不到文件‘chrome'   laya2.1.0正常 附件 : --> 2020-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_z 赞同来自: 1) 可能的原因: chrome路径没有...

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

213. laya3D 发部为android,只要一创建场景(包括空场景)就有如下报错,并且黑屏 [ 65%]

...Vector3(0.7, 0.6, 0.6); // directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); scene.ambientColor = new Laya.Vector3(0.0, 0.0, 0.0); //正方体 var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(5, 5, 5))); box.transform.position = new Laya.Vector3(0, 0, 0); box.transform.rotat...

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

214. 设置tiling/Offset,图片循环模式/wrapMode repeat不生效 (问题未解决,麻烦回复,如已解决会改标题) [ 65%]

...看看 2018-07-26 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 1.0不支持纹理参数导出,等等换2.0即可 2018-07-26 0 3 分享 微博 QZONE 微信 xiaoqi 赞同来自: meshRender.material.tilingOffset = new Laya.Vector4() 2018-08-04 0 0 分享 微博 QZONE 微信 150*****372 赞...

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

215. laya.resource.RenderTexture2D [ 65%]

...exture  clear(r:Number = 0.0, g:Number = 0.0, b:Number = 0.0, a:Number = 1.0):voidRenderTexture2D  end():void 结束绑定。 RenderTexture2D  generateMipmap():void[override] 生成mipMap。 RenderTexture2D  getData(x:Number, y:Number, width:Number, height:Number):Uint8Array 获得像素数...

来源: Laya2.0_api 发布时间: 20190513

216. 请教下, 自己写了个渐变色shader, 但是效果始终不对。麻烦大神们看看代码哪里有问题 [ 65%]

..., uv.x); gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0); } `; static fragmentShader = ` varying vec3 v_color; void main() { gl_FragColor = vec4(v_color, 1.0); } `;这是我写的shader,基本能实现功能,但是很简陋,想添加变化角度等 2019-12-28 0 0 分享 ...

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

217. 自定义shader-边缘光照shader [ 65%]

...e/earth.png")); customMaterial.setMarginalColor(new Laya.Vector3(0.0, 0.3, 1.0)); earth.meshRender.sharedMaterial = customMaterial; var rotation = new Laya.Vector3(0, 0.01, 0); Laya.timer.frameLoop(1, null, function () { earth.transform.rotate(rotation, true); }); function initShader() { var attribu...

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

218. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 64%]

...与内容相关的链接 提交 7 个回复 Laya_Aaron 赞同来自: 这个1.0的用webgl模式,或者用1.7.15的相关类库替换一下现在的试一下,1.0不再维护 2018-10-12 0 0 分享 微博 QZONE 微信 189*****410 赞同来自: 引擎大大,求解决。啥问题啊? 这个是官...

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

219. 2D方向光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...; intensity = 0.2 + t * 0.8; } else if (progress < 0.708) { intensity = 1.0; } else if (progress < 0.833) { const t = (progress - 0.708) / 0.125; intensity = 1.0 - t * 0.8; } else { intensity = 0.2; } this.lightComp.intensity = intensity; } } 示例中的变暗效果如动图3-1所示, (...

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

220. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 64%]

... main() { vec4 position = vec4(a_Position.xyz + a_Normal * u_OutlineWidth, 1.0); gl_Position = u_MvpMatrix * position; } ``` 片元着色器 `outline.fs` 代码如下: ```c++ #ifdef FSHIGHPRECISION precision highp float; #else precision mediump float; #endif uniform float u_OutlineLightness; uniform...

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