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

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

451. 摄像机旋转问题 [ 72%]

...体旋转。有相关的方法可以解决吗?   private var _rotateC:Vector3 = new Vector3(0, 0.001, 0);         private function startRound():void         {             Laya.timer.frameLoop(1, this, function():void{                 camare.transform.rotate(_rotat...

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

452. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 72%]

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

453. 四元数与欧拉角乘积公式 [ 72%]

...只小神龙 赞同来自: 请管理员关闭, 自答一下吧,利用vector3 类中的方法,transformQuat,给相机重新赋值 2018-04-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 bengtengzhu 小小小菜鸟,一只小神...

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

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

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

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

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

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

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

456. laya3d 相机问题 [ 72%]

...机问题 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

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

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

458. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

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

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

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

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

来源: laya_api 发布时间: 20170929

460. laya.d3.renderobjs.renderobj.ShadowCullInfo_API3.0 [ 71%]

...d in laya/d3/RenderObjs/RenderObj/ShadowCullInfo.ts:9 direction direction: Vector3 Implementation of IShadowCullInfo.direction Defined in laya/d3/RenderObjs/RenderObj/ShadowCullInfo.ts:11 position position: Vector3 Implementation of IShadowCullInfo.position Defined in laya/d3/RenderObjs/RenderObj/Sh...

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