大约有 1,709 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1284) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(33) Laya_示例(24) Laya2.0_示例(3)
...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
... 报错如下: 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
...(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
...="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
...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
...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...
来源: Laya2.0_文档 发布时间: 20210715
...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...
来源: Laya2.0_文档 发布时间: 20210715
...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...
来源: Laya2.0_文档 发布时间: 20210715
...(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
...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