大约有 24 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0022 秒)
...示3d旋转,可以根据各个轴的旋转弧度计算出 //Quaternion.createFromYawPitchRoll(yaw:Number, pitch:Number, roll:Number, out:Quaternion) box.transform.rotation = new Quaternion(x, y, z, w); //设置局部旋转,会使这个方体根据自身坐标系的坐标轴进行旋转 //如果...
来源: Laya_社区 发布时间: 20161223
...me * this.damper); //Update transform position and rotation. // Quaternion.createFromYawPitchRoll(this.CurrentAngles.y,this.CurrentAngles.x,this.CurrentAngles.z,this.tempRotationZ) // this.transform.rotation = this.tempRotationZ; this.CurrentAnglesTemp.x = -this.CurrentAngles.x; this.CurrentAnglesTe...
来源: Laya_社区 发布时间: 20170714
...me * this.damper); //Update transform position and rotation. // Quaternion.createFromYawPitchRoll(this.CurrentAngles.y,this.CurrentAngles.x,this.CurrentAngles.z,this.tempRotationZ) // this.transform.rotation = this.tempRotationZ; this.CurrentAnglesTemp.x = -this.CurrentAngles.x; this.CurrentAnglesTe...
来源: Laya_社区 发布时间: 20190224
...n(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRoll.z, this.tempRotationZ); this.tempRotationZ.cloneTo(this.camera.transform.localRotation); this.camera.transform.localRotation = this.camera.tra...
来源: Laya3.0_文档 发布时间: 20241014