大约有 584 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0053 秒)
Laya_社区(394) Laya2.0_文档(96) Laya_示例(44) Laya3.0_api(18) Laya3.0_文档(17) laya_api(8) Laya2.0_api(7)
...jects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:47184:20) at Camera.__proto._renderCamera (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:55676:10) at Scene.__proto.renderSubmit (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:47...
来源: Laya_社区 发布时间: 20170626
...义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个自定义材质,并且添加给box var _material = new CustomMaterial(); box.meshRenderer.material = _material; ``` 运行起来后,我们调整视角得到的效果图...
来源: Laya2.0_文档 发布时间: 20210715
...cene (file:///C:/LayaPro/LayaAnimator/bin/libs/laya.d3.js:34333:124) at Camera.__proto.render (file:///C:/LayaPro/LayaAnimator/bin/libs/laya.d3.js:44132:9) at Scene3D.__proto.renderSubmit (file:///C:/LayaPro/LayaAnimator/bin/libs/laya.d3.js:34565:34) at Context.__proto.submitElement (file:/...
来源: Laya_社区 发布时间: 20190809
...-16 0 3 分享 微博 QZONE 微信 138*****175 赞同来自: 我是把lh的camera信息删掉了,就不会报错。后面那个Hero20.lh就是没删除前的 Hero3D.rar 2017-08-17 0 1 分享 微博 QZONE 微信 138*****175 赞同来自: 新版本的加载一个模型动画文件(.lh),其中包...
来源: Laya_社区 发布时间: 20170428
...ight.shadowMode = Laya.ShadowMode.SoftLow; // Set shadow max distance from camera. directionLight.shadowDistance = 3; // Set shadow resolution. directionLight.shadowResolution = 1024; // Set shadow cascade mode. directionLight.shadowCascadesMode = Laya.ShadowCascadesMode.NoCascades; ``` 开启地面...
来源: Laya2.0_文档 发布时间: 20210715
...2.scalarLength(this.disVector2); //根据移动的距离进行缩放 this._camera.transform.translate(new Laya.Vector3(0, 0, -0.01 * (this.distance2 - this.distance))); this.distance = this.distance2; } } else if (0 === touchCount){ this._text.text = "触控点归零"; this.first = true; this.lastPo...
来源: Laya2.0_文档 发布时间: 20210715
...2.scalarLength(this.disVector2); //根据移动的距离进行缩放 this._camera.transform.translate(new Laya.Vector3(0, 0, -0.01 * (this.distance2 - this.distance))); this.distance = this.distance2; } } else if (0 === touchCount){ this._text.text = "触控点归零"; this.first = true; this.lastPo...
来源: Laya2.0_文档 发布时间: 20210715
...tionLight.shadowMode = ShadowMode.SoftLow; // Set shadow max distance from camera. directionLight.shadowDistance = 3; // Set shadow resolution. directionLight.shadowResolution = 1024; // Set shadow cascade mode. directionLight.shadowCascadesMode = ShadowCascadesMode.NoCascades; // Set shadow normal ...
来源: Laya2.0_文档 发布时间: 20210715
...义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个自定义材质,并且添加给box var _material = new CustomMaterial(); box.meshRenderer.material = _material; ``` 运行起来后,我们调整视角得到的效果图...
来源: Laya2.0_文档 发布时间: 20210715
...Manager.instance.mouseX; point.elements[1] = MouseManager.instance.mouseY; camera.viewportPointToRay(point, ray); //射线检测获取所有检测碰撞到的物体 Physics.rayCastAll(ray, _outHitAllInfo, 500, 0); 这是通过屏幕当前鼠标位置获取一条射线碰撞...
来源: Laya_社区 发布时间: 20180120