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

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

271. 有关Laya3D碰撞检测疑问 [ 70%]

...men/texture/layabox.png"); box.meshRender.material = boxMat; box.transform.position = new Laya.Vector3(0.3, 0.5, 0.5); box.transform.rotate(new Laya.Vector3(0, 30, 0), false, false); let boxCollider1:Laya.BoxCollider = box.addComponent(Laya.BoxCollider) as Laya.BoxCollider; boxCollider1.setFromBound...

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

272. 微信小游戏发布后,在开发者工具中报错, [ 69%]

... 报错如下: VM819:1 gameThirdScriptError Unexpected token in JSON at position 787;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 787 at JSON.parse (<anonymous>) at Function.e.getJson (http://127.0.0.1:37389/game/code.js:1:461434) at Function.e....

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

273. 其他引擎的Demo-Example_23 [ 69%]

...(tick > frequency) { tick = 0; // iterate through the dudes and update the positions var laser = new Sprite(); laser.loadImage("../../res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; var pos1; var pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHeight); pos2 = n...

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

274. ios上input无法隐藏 [ 69%]

...="image/*";//设置文件的格式为png;             z_file.style.position ="absolute";             z_file.style.left = '18%';                     z_file.style.top = '64%';                     z_file.style.zOrder = 888;             f_file.style="filter:alpha(...

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

275. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...ype:Vector4, default:[1,1,1,1]} // 渐变结束颜色 }, attributeMap: { a_position: Vector4, a_color: Vector4, a_uv: Vector2, }, defines: { BASERENDER2D: { type: bool, default: true } } shaderPass:[ { pipeline:Forward, VS:baseRenderVS, FS:baseRenderPS } ] } Shader3D End GLSL Start #defineGLSL baseR...

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

276. uniformMap表格(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 69%]

...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...

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

277. uniformMap表格(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 69%]

...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...

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

278. uniformMap表格(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 69%]

...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...

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

279. 其他引擎的Demo-Example_23 [ 69%]

...(tick > frequency) { tick = 0; // iterate through the dudes and update the positions laser = new Sprite(); laser.loadImage("res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; let pos1; let pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHeight); pos2 = new Point(v...

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

280. 以前用lm文件加载模型。现在用lh文件加载模型无法贴图 [ 68%]

...sh.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); fish.transform.position = new Laya.Vector3(0,0.5,0); // fish.transform.position = new Laya.Vector3(0.4,0.5,-0.35); fish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); var anifish = fish.addComponent(Laya.SkinAnimations); anifish.temple...

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