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

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

61. LayaAir3D基础数学工具(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 66%]

... directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); ``` **四元数(Quaternion)** ​ 四元数在LayaAir中用于计算旋转。它们计算紧凑高效,不受万向节锁的困扰,并且可以很方便快速地进行球面插值。 关于四元数的使用有需求的可以自行了...

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

62. LayaAir3D基础数学工具(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 66%]

...色 directionLight.color = new Vector3(0.6, 0.6, 0.6); ``` **四元数(Quaternion)** ​ 四元数在LayaAir中用于计算旋转。它们计算紧凑高效,不受万向节锁的困扰,并且可以很方便快速地进行球面插值。 关于四元数的使用有需求的可以自行了解...

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

63. 3d模型旋转问题 [ 66%]

...nsform.rotation; 然后再加一个改变量 sphere.transform.rotation=new Quaternion(_qua.x+mody*0.001,_qua.y,0,1); 但是它的_qua.y限制了 sphere.transform.rotate(vectx,true,false); 局部转X轴的角度,感觉Y轴转不动了   2018-05-23 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同...

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

64. laya.maths.Matrix3x3_API3.0 [ 64%]

...4 createFromRotation createFromScaling createFromTranslation createRotationQuaternion forwardLookAt lookAt multiply Constructors constructor new Matrix3x3(createElement?: boolean): Matrix3x3 Defined in laya/maths/Matrix3x3.ts:166 创建一个 Matrix3x3 实例。 Parameters Default value createElemen...

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

65. Matrix4x4的decompose函数用法 [ 64%]

... decompose是分解矩阵函数。 decompose(translation:Vector3, rotation:Quaternion, scale:Vector3):Boolean 假设单位矩阵A ,平移后变成矩阵B,缩放某轴后变成矩阵C,绕某轴旋转后变成矩阵D。然后用decompose可以分别获得 平移向量、缩放向量、旋转四...

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

66. laya.d3.math.Matrix3x3_API3.0 [ 64%]

...4 createFromRotation createFromScaling createFromTranslation createRotationQuaternion forwardLookAt lookAt multiply Constructors constructor new Matrix3x3(createElement?: boolean): Matrix3x3 Defined in laya/d3/math/Matrix3x3.ts:166 创建一个 Matrix3x3 实例。 Parameters Default value createElem...

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

67. 加载模型后如何取得在Unity的Transform.Rotation属性 [ 61%]

...看_transform._localRotationEuler是Vector3(0,0,0),是不是只有提供Quaternion的表示而已呢? 2017-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 wudi199553 赞同来自: 你在unity导出来的....

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

68. laya.d3.physics.shape.StaticPlaneColliderShape [ 60%]

...set : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取碰撞类型。 ColliderShapePublic Methods Hide Inherited Public Methods Show I...

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

69. 有没有四元数右乘三维向量的算法? [ 60%]

有没有四元数右乘三维向量的算法? 类似unity里面Quaternion*Vector3可以得到一个向量转换后的向量。 2018-09-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同来自: 百神...

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

70. Sprite3D的克隆(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 60%]

...l, worldPositionStays: boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPositionStays为false时生效。 - rotation:世界旋...

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