大约有 196 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0039 秒)
Laya_社区(55) Laya3.0_api(53) Laya2.0_api(29) Laya_示例(21) laya_api(19) Laya2.0_文档(17) Laya3.0_文档(2)
... Parameters value: Vector3 Returns void localRotation get localRotation(): Quaternion set localRotation(value: Quaternion): void Inherited from CompoundColliderShape.localRotation Defined in laya/d3/physics/shape/ColliderShape.ts:140 Shape的本地旋转。 Returns Quaternion Inherited from Compound...
来源: Laya3.0_api 发布时间: 20231115
...ctor3, isLocal: boolean = true): void { if (isLocal) { Matrix4x4.createFromQuaternion(this.localRotation, Transform3D._tempMatrix0); Vector3.transformCoordinate(translation, Transform3D._tempMatrix0, Transform3D._tempVector30); Vector3.add(this.localPosition, Transform3D._tempVector30, this._localPo...
来源: Laya3.0_文档 发布时间: 20241014
...外一个三维向量。 Vector3 transformQuat(source:Vector3, rotation:Quaternion, out:Vector3):void[static] 根据四元数旋转三维向量。 Vector3 transformV3ToV3(vector:Vector3, transform:Matrix4x4, result:Vector3):void[static] 通过矩阵转换一个三维向量到另外一个三维...
来源: Laya2.0_api 发布时间: 20190513
...旋转,会使这个方体根据世界坐标系的坐标轴进行旋转 //Quaternion四元数,常用来表示3d旋转,可以根据各个轴的旋转弧度计算出 //Quaternion.createFromYawPitchRoll(yaw:Number, pitch:Number, roll:Number, out:Quaternion) box.transform.rotation = new Quaternion(x,...
来源: Laya_社区 发布时间: 20161223
...。 Parameters value: number Returns void orientation get orientation(): Quaternion set orientation(q: Quaternion): void Defined in laya/d3/physics/Rigidbody3D.ts:422 设置物理旋转 Returns Quaternion Defined in laya/d3/physics/Rigidbody3D.ts:416 设置物理旋转 Parameters q: Quaternion Retur...
来源: Laya3.0_api 发布时间: 20231115
...外一个三维向量。 Vector3 transformQuat(source:Vector3, rotation:Quaternion, out:Vector3):void[static] 根据四元数旋转三维向量。 Vector3 transformV3ToV3(vector:Vector3, transform:Matrix4x4, result:Vector3):void[static] 通过矩阵转换一个三维向量到另外一个三维...
来源: laya_api 发布时间: 20170929
...Bool getBuffer getDataForNative getInt getLength getMatrix4x4 getNumber getQuaternion getTexture getValueData getVector getVector2 getVector3 hasDefine needRenewArrayBufferForNative removeDefine setAttribute setBool setBuffer setInt setLength setMatrix4x4 setNumber setQuaternion setReferenceForNativ...
来源: Laya3.0_api 发布时间: 20231102
....transform.translate(new Laya.Vector3(250, 1, 0)); var rotation = new Laya.Quaternion; Laya.Quaternion.lookAt(camera.position, new Laya.Vector3(0, 0, 0), camera.up, rotation); camera.transform.rotation = rotation; camera.clearColor = new Laya.Vector4(1, 1, 1, 1); camera.orthographicProjection = true...
来源: Laya_社区 发布时间: 20170504
...HIERARCHY_LOADED, this, function () { zombie.transform.rotation = new Laya.Quaternion(-0.7071068, 0, 0, -0.7071068); zombie.transform.position = new Laya.Vector3(0.3, 0, 0); addSkinComponent(zombie); loadUI(); }); var skinAniUrl = [ "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@wa...
来源: Laya_示例 发布时间: 20241118
...ormVector3ArrayByQuat(sourceArray:Float32Array, sourceOffset:int, rotation:Quaternion, outArray:Float32Array, outOffset:int):void[static] 根据四元数旋转三维向量。 Utils3D transformVector3ArrayToVector3ArrayCoordinate(source:Float32Array, sourceOffset:int, transform:Matrix4x4, result:F...
来源: laya_api 发布时间: 20170929