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

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

541. Uncaught RangeError: Source is too large 这个怎么解决,下面是具体的错误提示,希望有朋友提供下解决方法 [ 45%]

...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

542. 如何自定义Shader(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 45%]

...义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个自定义材质,并且添加给box var _material = new CustomMaterial(); box.meshRenderer.material = _material; ``` 运行起来后,我们调整视角得到的效果图...

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

543. U3D导出模型和动画,动画无法正常播放,预览也没有,载入场景资源提示:this._cacheAnimationNode没有Transfrom [ 45%]

...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

544. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 45%]

...-16 0 3 分享 微博 QZONE 微信 138*****175 赞同来自: 我是把lh的camera信息删掉了,就不会报错。后面那个Hero20.lh就是没删除前的 Hero3D.rar 2017-08-17 0 1 分享 微博 QZONE 微信 138*****175 赞同来自: 新版本的加载一个模型动画文件(.lh),其中包...

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

545. 如何为灯光添加阴影(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 45%]

...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

546. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 45%]

...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

547. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 45%]

...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

548. 如何为灯光添加阴影(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 45%]

...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

549. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 45%]

...义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个自定义材质,并且添加给box var _material = new CustomMaterial(); box.meshRenderer.material = _material; ``` 运行起来后,我们调整视角得到的效果图...

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

550. 求指点3d射线碰撞和UI点击穿透的问题 [ 44%]

...Manager.instance.mouseX; point.elements[1] = MouseManager.instance.mouseY; camera.viewportPointToRay(point, ray);              //射线检测获取所有检测碰撞到的物体 Physics.rayCastAll(ray, _outHitAllInfo, 500, 0);   这是通过屏幕当前鼠标位置获取一条射线碰撞...

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