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

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

21. laya.maths.Matrix4x4_API3.0 [ 91%]

...poseYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity normalize setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter createPerspective creat...

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

22. laya.d3.math.Matrix4x4_API3.0 [ 90%]

...sOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity invert isIdentity normalize setElementByRowColumn setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter c...

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

23. laya.maths.Vector4_API3.0 [ 90%]

...c/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO Methods clone cloneTo equal forNativ...

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

24. laya.d3.math.Vector4_API3.0 [ 89%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO Methods clone cloneTo forNativeEleme...

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

25. LayaAir3D中的Transform变换(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 89%]

...旋转。 ```typescript //移动摄像机 camera.transform.translate(new Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧拉角...

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

26. LayaAir3D中的Transform变换(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 89%]

...转。 ```typescript //移动摄像机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧...

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

27. LayaAir3D中的Transform变换(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 89%]

...转。 ```typescript //移动摄像机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); //旋转摄像机 camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); ``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧...

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

28. laya.d3.math.Quaternion [ 89%]

...loneTo(destObject:*):void 克隆。 Quaternion  createFromAxisAngle(axis:Vector3, rad:Number, out:Quaternion):void[static] 从指定的轴和角度计算四元数 Quaternion  createFromMatrix4x4(mat:Matrix4x4, out:Quaternion):void[static] 从旋转矩阵计算四元数 Quaternion  createFromYa...

来源: Laya2.0_api 发布时间: 20190513

29. viewportPointToRay产生的射线始终有偏差,是为什么? [ 89%]

...为什么? 我使用这种方式构造了一个射线: let point = new Vector2(Laya.stage.mouseX, Laya.stage.mouseY); camera.viewportPointToRay(point, this._ray);然后发现ray构造出来的位置始终不对,我沿着ray的方向放了一组3D物体,和从屏幕点击下去的位置始终...

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

30. 射线检测-碰撞器混合 [ 88%]

...目开发更高效。Laya3D.init(0, 0, true); this._tempUnitX1 = new Laya.Vector3(0, 0, -0.1); this._tempUnitX2 = new Laya.Vector3(0, 0, 0.1); this._tempUnitX3 = new Laya.Vector3(-0.1, 0, 0); this._tempUnitX4 = new Laya.Vector3(0.1, 0, 0); this.debug = true; Laya.stage.scaleMode = Laya.Stage.SCALE_F...

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