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

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

1. 灯-方向 [ 100%]

...3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向 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); var grid = scene.addChild(Laya.Sprite3D.l...

来源: Laya_示例 发布时间: 20241124

2. 射线检测-放置物体 [ 90%]

...w Laya.Vector3(-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.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya....

来源: Laya_示例 发布时间: 20241124

3. 射线检测-选取物体 [ 88%]

...w Laya.Vector3(-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.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya....

来源: Laya_示例 发布时间: 20241124

4. 射线检测-点击行走 [ 87%]

...w Laya.Vector3(-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.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya....

来源: Laya_示例 发布时间: 20241124