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

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

101. 3D场景中背景无法透明,版本2.7.1 [ 73%]

...); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 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); directionLigh...

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

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

...); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new 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.4); directionLight.di...

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

103. Unity 3D 模型的中心点 [ 73%]

...0. 缩放的时候也以(0,0,0)定位。   旋转代码:  var _rotateLeft = new Laya.Vector3(0, 1, 0); floor.transform.rotate(_rotateLeft, true, false); 或者 floor.transform.rotate(_rotateLeft, false, false); 2018-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

104. 关于3D物件半透明漫反射率(官网上的例子)的BUG。 [ 72%]

...nsform.position = new Laya.Vector3(2.5, 1.5, 0);         box.transform.rotation = new Laya.Quaternion(-0.373,-0.070,0.16,0.91);         box.meshRender.material = material;         // //旋转(这里把注释去掉,可看旋转效果,BUG更明显:渲染时,正方体“背面”...

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

105. 人物行走图动画 [ 72%]

... {  "filename": "walk_01.png",  "frame": {"x":2,"y":2,"w":32,"h":48},  "rotated": false,  "trimmed": false,  "spriteSourceSize": {"x":0,"y":0,"w":32,"h":48},  "sourceSize": {"w":32,"h":48} }, {  "filename": "walk_02.png",  "frame": {"x":36,"y":2,"w":32,"h":48},  "rotated": false,  "trimmed...

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

106. 摄像机的移动和旋转(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 72%]

...机。局部坐标,弧度制(false为角度制)。 camera.transform.rotate(new Laya.Vector3(0, 0, 3), true, true); ```

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

107. 摄像机的移动和旋转(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 72%]

...机。局部坐标,弧度制(false为角度制)。 camera.transform.rotate(new Laya.Vector3(0, 0, 3), true, true); ```

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

108. 射线检测-碰撞器混合 [ 72%]

...era.transform.translate(new Laya.Vector3(0, 6, 13)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.addComponent(CameraMoveScript); //加载猴子 this.layaMonkey = this.scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"))...

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

109. 有关Laya3D碰撞检测疑问 [ 71%]

...mera.transform.translate(new Laya.Vector3(0, 2, 5)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null;  //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color =...

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

110. 摄像机的移动和旋转(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 71%]

...机。局部坐标,弧度制(false为角度制)。 camera.transform.rotate(new Vector3(0, 0, 3), true, true); ```

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