大约有 1,207 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(573) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(29)
... this.osizex && this.tsizez > this.osizez) { var eat = new Laya.Vector3(0, 0.5, 0);//龙卷风方法直接上升 other.owner.transform.translate(eat,true,false); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.re...
来源: Laya_社区 发布时间: 20181017
...icVerticalSize = 7; //移动摄像机位置 camera.transform.translate(new Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.rotate(new Vector3( -30, 0, 0), true, false); ``` (图2)正交投影的效果图
来源: Laya2.0_文档 发布时间: 20210715
...ial.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.Vector2; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; impor...
来源: Laya_示例 发布时间: 20251209
...ild(new Camera(0, 0.3, 1000)); renderTargetCamera.transform.position = new Vector3(-28.8, 8, -60); renderTargetCamera.transform.rotate(new Vector3(0, 180, 0), true, false); //选择渲染目标为纹理 renderTargetCamera.renderTarget = new RenderTexture(512, 512); //渲染顺序 renderTargetCamera....
来源: Laya2.0_文档 发布时间: 20210715
...到旋转之前的视角 摄像机旋转camera.transform.rotate(new Laya.Vector3(0.15, -5.95, 0.015)); 之后通过camera.transform.rotate(new Laya.Vector3(-0.15, 5.95, -0.015)); 不能回到原来的视角 2018-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20181012
...ild(new Camera(0, 0.3, 1000)); renderTargetCamera.transform.position = new Vector3(-28.8, 8, -60); renderTargetCamera.transform.rotate(new Vector3(0, 180, 0), true, false); //选择渲染目标为纹理 renderTargetCamera.renderTarget = new RenderTexture(512, 512); //渲染顺序 renderTargetCamera....
来源: Laya2.0_文档 发布时间: 20210715
...eScript失效,相机开始乱转,而且最奇怪的是,发现连Laya.Vector3.ZERO也不再是(0, 0, 0)了,每次MouseDown之后ZERO的值都会变,具体逻辑已在截图上标注,是我的打开方式不对吗? 请帮助看一下,感谢! 附件 : --> 2018-06-14 添加...
来源: Laya_社区 发布时间: 20180614
...显示参数,在IDE内输入参数,然后在脚本里面 如何使用Vector node 附件 : --> myLayaScriptDemo2.zip 2019-06-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 king 赞同来自: help help help...
来源: Laya_社区 发布时间: 20190614
...0.1, 100))) as Camera; camera.transform.translate(new Vector3(0, 3, 3)); camera.transform.rotate(new Vector3( -30, 0, 0), true, false); camera.clearColor = null; camera.clearFlag = BaseCamera.CLEARFLAG_SKY; ...
来源: Laya_社区 发布时间: 20170527
...hild(camera); //移动摄像机位置 camera.transform.position = new Laya.Vector3(-3, 1.5, 6); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-6, 0, 0), true, false); //设置摄像机视野范围(角度) camera.fieldOfView = 33; 附件 : --> 2018-09-10 添加评论 免费...
来源: Laya_社区 发布时间: 20180910