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

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

81. 使用百度地图显示当前位置(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 73%]

...取到的坐标转换至百度地图坐标,由于它是作为convertor.translate()的参数,所以触发时作用域会被改变,因此在这里绑定了该函数的作用域。 ##### 2.1 init函数: ```typescript private  init(): void { this.mapDiv = Laya.Browser.createElement("div"); Laya...

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

82. 使用2D地图3D人物混合进行游戏开发(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 73%]

...坐标系统 camera.convertScreenCoordToOrthographicCoord(this._pos, this._translate); layaMonkey.transform.position = _translate; //设置选择 var tmpRotationEuler = layaMonkey.transform.rotationEuler; tmpRotationEuler.setValue(-30, 0, 0); layaMonkey.transform.rotationEuler = tmpRotationEuler; })...

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

83. 使用2D地图3D人物混合进行游戏开发(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 73%]

...坐标系统 camera.convertScreenCoordToOrthographicCoord(this._pos, this._translate); layaMonkey.transform.position = _translate; //设置选择 var tmpRotationEuler = layaMonkey.transform.rotationEuler; tmpRotationEuler.setValue(-30, 0, 0); layaMonkey.transform.rotationEuler = tmpRotationEuler; })...

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

84. 不受重力的3d物理刚体,无法触发碰撞 [ 73%]

...体还在下落,看了你的代码,你在脚本里一直在transform.translate(new Laya.Vector3(0, -0.05, 0), true);  你通过transform.translate一个物体,怎么可能会触发物理碰撞? 2020-05-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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

85. 在Unity中导出拖尾系统(ActionScript-3D基础(AS3)-LayaAir3D之拖尾系统) [ 73%]

...meLoop(1,this,function():void{ //使用差速来体现移动 box.transform.translate(new Vector3(0,0.05,0),false); camera.transform.translate(new Vector3(0,04,0),false); }); })); ``` ![](img/3.gif)(图3)

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

86. laya.d3.math.Matrix3x3_API3.0 [ 73%]

...nts DEFAULT Methods clone cloneTo determinant identity invert rotate scale translate transpose createFromMatrix4x4 createFromRotation createFromScaling createFromTranslation createRotationQuaternion forwardLookAt lookAt multiply Constructors constructor new Matrix3x3(createElement?: boolean): Matrix...

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

87. laya.d3.utils.Utils3D的convert3DCoordTo2DScreenCoord这个接口api描述是不是错了? [ 73%]

...系统,我们想把球放在2d坐标系下的(200,100)位置,var translate:Vector3 = new Vector3(200, 100, 0),因为是正交投影坐标系所以z为0。如果不经过convert3DCoordTo2DScreenCoord的转换,球的位置会在屏幕的右上部分,但经过该函数装换后,小球...

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

88. 使用2D地图3D人物混合进行游戏开发(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 73%]

...影下的坐标系统 camera.convertScreenCoordToOrthographicCoord(_pos, _translate); layaMonkey.transform.position = _translate; //设置选择 var tmpRotationEuler:Vector3 = layaMonkey.transform.rotationEuler; tmpRotationEuler.setValue(-30, 0, 0); layaMonkey.transform.rotationEuler = tmpRotationEu...

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

89. 高级应用-Laya3D与网页混合 [ 72%]

...ar camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); di...

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

90. Sprite3D-Sprite3D克隆 [ 71%]

...ar camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); ...

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