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

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

461. Laya截图3D场景相关模型,导致模型透视! [ 71%]

...dChild(new Laya.Camera(0, 0.1, 100)); camera.transform.position = new Laya.Vector3(0, 0, 10); camera.transform.rotate(new Laya.Vector3(0, 180, 0), true, false); camera.orthographic = true; camera.orthographicVerticalSize = 5; this.effRes = Laya.Sprite3D.load(resUrl); this.effRes.on(Laya.Event.HIERAR...

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

462. VR摄像机怎么设置坐标跟拍摄角度? [ 71%]

...Laya.VRCamera( 0.03, 0, 0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(93, 64, -33)); camera.transform.rotate(new Laya.Vector3(0.05, 155, 0), true, false); camera.clearColor = null; camera.addComponent(VRCameraMoveScript); 我这样跟传统的摄像机一样去设置报错了! 2017-07...

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

463. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 71%]

...式。 startRotationConstantMaxSeparate startRotationConstantMaxSeparate: Vector3 = null Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:282 最大开始三维旋转,1模式。 startRotationConstantMin startRotationConstantMin: number = 0 Defined in laya/d3/core/particleShuriKen...

来源: Laya3.0_api 发布时间: 20231115

464. laya.d3.core.scene.Scene [ 71%]

...示不透明。更改alpha值会影响drawcall。Sprite  ambientColor : Vector3 获取环境光颜色。 Scene autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制...

来源: laya_api 发布时间: 20170929

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

...部坐标,false是相对世界坐标。 camera.transform.translate(new Vector3(0, 0, 3),false); //加载到场景 scene.addChild(camera); ``` ​ 旋转摄像机: ```typescript //旋转相机。局部坐标,弧度制(false为角度制)。 camera.transform.rotate(new Vector3(0, 0, 3), true,...

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

466. laya3d 相机问题 [ 71%]

...机问题 Laya.camera.moveVertical(cameramovespeed); var outpos = new Laya.Vector3(); Laya.camera.worldToViewportPoint(new Laya.Vector3(seeObject.position.x,seeObject.position.y,seeObject.position.z), outpos); 相机移动后用worldToViewportPoint获取模型相对屏幕位置不准确,能看到...

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

467. Matrix4x4的decompose函数用法 [ 71%]

...ompose函数用法 decompose是分解矩阵函数。 decompose(translation:Vector3, rotation:Quaternion, scale:Vector3):Boolean 假设单位矩阵A ,平移后变成矩阵B,缩放某轴后变成矩阵C,绕某轴旋转后变成矩阵D。然后用decompose可以分别获得 平移向量、缩放...

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

468. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 71%]

...动插值参数值 public camDepthSmooth: number = 20 public curpos: Laya.Vector3; private delatpos: Laya.Vector3; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 * 此方法为虚方法,使用时重写覆盖即...

来源: Laya3.0_文档 发布时间: 20231214

469. 关于导出粒子特效问题 [ 71%]

...yaExport.DataManager:getComponentsData(GameObject, JSONObject, JSONObject, Vector3, Quaternion, Vector3, String&) 请问下是不支持什么格式吗? 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

470. 有获得3D模型旋转角度的方法吗? [ 71%]

...x • 2018-05-12 15:52 author3D.transform.localRotationEuler获取的都是Vector3 怎么把这个Vector3转成角度值啊

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