大约有 87 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0032 秒)
... //世界矩阵 Matrix4x4elements: Float32Array[16]0: 0.85106498003005981: 02: 03: 04: 05: 0.85106498003005986: 07: 08: 09: 010: 0.851064980030059811: 012: 331.600006103515613: -5.099999944384835e-1414: -3.03830003738403315: 1buffer: (...)by...
来源: Laya_社区 发布时间: 20170323
...color.setValue(1.0, 0.5, 0.0, 1); //设置平行光的方向 var mat: Laya.Matrix4x4 = directlightSprite.transform.worldMatrix; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); directlightSprite.transform.worldMatrix = mat; setForward 平行光的方向,分别代表x、y、z轴上的方向,...
来源: Laya3.0_文档 发布时间: 20250103
...平行光的方向 var mat = directionLight.transform.worldMatrix as Laya.Matrix4x4; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix=mat; this.sprite3D = scene.addChild(new Laya.Sprite3D()) as Laya.Sprite3D; //正方体 var box = this.sprite3D.addChild(new La...
来源: Laya_社区 发布时间: 20220815
...light.DirectionLight; import laya.d3.core.scene.Scene; import laya.d3.math.Matrix4x4; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.ui.Image; import laya.utils.Handler; import laya.utils.Stat; public class D3S...
来源: Laya_示例 发布时间: 20250219
...eTo determinant identity invert rotate scale translate transpose createFromMatrix4x4 createFromRotation createFromScaling createFromTranslation createRotationQuaternion forwardLookAt lookAt multiply Constructors constructor new Matrix3x3(createElement?: boolean): Matrix3x3 Defined in laya/maths/Matr...
来源: Laya3.0_api 发布时间: 20231115
...eTo determinant identity invert rotate scale translate transpose createFromMatrix4x4 createFromRotation createFromScaling createFromTranslation createRotationQuaternion forwardLookAt lookAt multiply Constructors constructor new Matrix3x3(createElement?: boolean): Matrix3x3 Defined in laya/d3/math/Ma...
来源: Laya3.0_api 发布时间: 20231102
...late(translation: Vector3, isLocal: boolean = true): void { if (isLocal) { Matrix4x4.createFromQuaternion(this.localRotation, Transform3D._tempMatrix0); Vector3.transformCoordinate(translation, Transform3D._tempMatrix0, Transform3D._tempVector30); Vector3.add(this.localPosition, Transform3D._tempVec...
来源: Laya3.0_文档 发布时间: 20240910
...eturns void Static transformByM4x4 transformByM4x4(vector4: Vector4, m4x4: Matrix4x4, out: Vector4): void Defined in laya/maths/Vector4.ts:144 通过4x4矩阵把一个四维向量转换为另一个四维向量 Parameters vector4: Vector4 带转换四维向量。 m4x4: Matrix4x4 out: Vector4 转换...
来源: Laya3.0_api 发布时间: 20231115
...teX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 createFromYawPitchRoll dot forwardLookAt invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new Quaternion(x?: number, y?: number, z?: number, w?: number): Quaternion Defined in...
来源: Laya3.0_api 发布时间: 20231115
...eturns void Static transformByM4x4 transformByM4x4(vector4: Vector4, m4x4: Matrix4x4, out: Vector4): void Defined in laya/d3/math/Vector4.ts:144 通过4x4矩阵把一个四维向量转换为另一个四维向量 Parameters vector4: Vector4 带转换四维向量。 m4x4: Matrix4x4 out: Vector4 转换...
来源: Laya3.0_api 发布时间: 20231102