大约有 1,744 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1319) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(33) Laya_示例(24) Laya2.0_示例(3)
...public static const LoopType_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color demo如下: 具体实现方式和demo源码放到github。有需要的同学可以看看。github入口 附件 : --> 2018-09-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180905
...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
...Play: boolean; private pausedEffects: Map<string, { position: number; completeCallback?: () => void }> = new Map(); // 回调获取方法(需在setupChannelHandlers存储回调) private callbackMap: Map<string, () => void> = new...
来源: Laya_社区 发布时间: 20250930
... 报错如下: 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_示例 发布时间: 20251130
...="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
...-------- | ----- | | 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
...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_文档 发布时间: 20251120
...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...
来源: Laya2.0_文档 发布时间: 20210715