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

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

51. laya.d3.core.light.DirectionLight [ 79%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames DirectionLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类...

来源: laya_api 发布时间: 20170929

52. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 79%]

...记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 !...

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

53. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 78%]

...记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 !...

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

54. 有关Laya3D碰撞检测疑问 [ 77%]

...-15, 0, 0), true, false); this.camera.clearColor = null;  //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1);  //平...

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

55. Cannot read property 'rayCast' of undefined [ 77%]

...rue, false); //3.清除照相机颜色 this.camera.clearColor = null; this.directionLight = new Laya.DirectionLight(); this.scene.addChild(this.directionLight); this.directionLight.direction = new Laya.Vector3(0, -0.8, -1); this.directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); Laya.Sprite3D.l...

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

56. 同一类型光源互斥的问题报告 [ 77%]

...置点光的衰减 //创建平行光1 var light3 = scene.addChild(new Laya.DirectionLight()); light3.direction = new Laya.Vector3(0.5, -1, 0); light3.color = new Laya.Vector3(0, 1, 1); //创建平行光2 var light4 = scene.addChild(new Laya.DirectionLight()); light4.direction = new Laya.Vector3(-1, ...

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

57. laya3D 发部为android,只要一创建场景(包括空场景)就有如下报错,并且黑屏 [ 76%]

...ue; camera.orthographicVerticalSize = 15; this.mainCamera = camera; // var directionLight = scene.addChild(new Laya.DirectionLight()); // directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); // directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); scene.ambientColor = new Laya.Vector3(0.0, ...

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

58. 微信小游戏wxmin图片加载有点问题 [ 76%]

...ector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.4); directionLight.direction = new Laya.Vector3(1, -1, -1); Laya.Stat.show(0,30) var box = scene.addChild(new Lay...

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

59. localRotationEulerY旋转位置错误 [ 76%]

...0, 0), true, false);          //方向光         var directionLight = new Laya.DirectionLight();         this.newScene.addChild(directionLight);         directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6);         //设置平行光的方向  ...

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

60. 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 [ 75%]

...rm.rotate(new Laya.Vector3(-30, 0, 0), true, false); //添加方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new Laya.Vector3(...

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