大约有 101 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0035 秒)
...le旋转角度不正确的问题 Laya.Quaternion.createFromAxisAngle 在做向量旋转的时候,当使用的旋转坐标轴是标准坐标轴时,旋转的结果是正确的,如围绕Y轴旋转,(0,1,0),旋转30度,得到的结果是正确的 但是,当围绕的坐标轴有倾斜角度的时候,旋...
来源: Laya_社区 发布时间: 20191230
如何旋转模型的z轴到指定的向量的方向 如题,想让模型面朝指定向量的方向,用的 Laya.Quaternion.rotationLookAt() 的方法,但是并没有达到预期效果 这个方法的参数 up 指定的是世界坐标的 up 方向?还是基于 forward 的 up 方向? 附件...
来源: Laya_社区 发布时间: 20200811
...or3, rotationMatrix:Matrix4x4, scale:Vector3):Boolean 分解矩阵为平移向量、旋转矩阵、缩放向量。 Matrix4x4 decomposeTransRotScale(translation:Vector3, rotation:Quaternion, scale:Vector3):Boolean 分解矩阵为平移向量、旋转四元数、缩放向量。 Matrix4x4 decompo...
来源: laya_api 发布时间: 20170929
...or3, rotationMatrix:Matrix4x4, scale:Vector3):Boolean 分解矩阵为平移向量、旋转矩阵、缩放向量。 Matrix4x4 decomposeTransRotScale(translation:Vector3, rotation:Quaternion, scale:Vector3):Boolean 分解矩阵为平移向量、旋转四元数、缩放向量。 Matrix4x4 decompo...
来源: Laya2.0_api 发布时间: 20190513
...tor3): boolean Defined in laya/maths/Matrix4x4.ts:545 分解矩阵为平移向量、旋转矩阵、缩放向量。 Parameters translation: Vector3 平移向量。 rotationMatrix: Matrix4x4 旋转矩阵。 scale: Vector3 缩放向量。 Returns boolean 是否分解成功。 decomposeTransRotScale dec...
来源: Laya3.0_api 发布时间: 20231115
...r3): boolean Defined in laya/d3/math/Matrix4x4.ts:523 分解矩阵为平移向量、旋转矩阵、缩放向量。 Parameters translation: Vector3 平移向量。 rotationMatrix: Matrix4x4 旋转矩阵。 scale: Vector3 缩放向量。 Returns boolean 是否分解成功。 decomposeTransRotScale dec...
来源: Laya3.0_api 发布时间: 20231102
...Array:Float32Array, outOffset:int):void[static] 根据四元数旋转三维向量。 Utils3D transformVector3ArrayToVector3ArrayCoordinate(source:Float32Array, sourceOffset:int, transform:Matrix4x4, result:Float32Array, resultOffset:int):void[static] 通过矩阵转换一个三维向量数组到...
来源: laya_api 发布时间: 20170929
...eVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By x : NumberX轴坐标Vector3 y : NumberY轴坐标Vector3 z : NumberZ轴坐标Vector3Public Methods MethodDefined By Vector3(x:Number = 0, y:Number = 0, z:Number = 0...
来源: Laya2.0_api 发布时间: 20190513
3D如何计算反射线的向量? 知道射线的向量以及射线碰撞信息里面的法向量,怎么计算得到反射线的向量? 我看文档有接口可以把向量通过矩阵转换为另外一个向量, Laya.Vector3.transformV3ToV3(direction,matrix,outVector) 目前的问题就是...
来源: Laya_社区 发布时间: 20200113
...eVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By elements : Float32Array三维向量元素数组Vector3 x : Number 获取X轴坐标。 Vector3 y : Number 获取Y轴坐标。 Vector3 z : Number 获取Z轴坐标。 V...
来源: laya_api 发布时间: 20170929