大约有 238 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0036 秒)
...Array:Float32Array, outOffset:int):void[static] 根据四元数旋转三维向量。 Utils3D transformVector3ArrayToVector3ArrayCoordinate(source:Float32Array, sourceOffset:int, transform:Matrix4x4, result:Float32Array, resultOffset:int):void[static] 通过矩阵转换一个三维向量数组到...
来源: laya_api 发布时间: 20170929
...t: Vector4): void Defined in laya/d3/math/Viewport.ts:48 投影一个三维向量到视口空间。 Parameters source: Vector3 三维向量。 matrix: Matrix4x4 变换矩阵。 out: Vector4 x、y、z为视口空间坐标,透视投影下w为相对于变换矩阵的z轴坐标。 Returns void set set(x...
来源: Laya3.0_api 发布时间: 20231115
请问Laya2里面的物理引擎怎么使用才能像向量那样往一个方向发射 正在开发一个发射子弹撞击木块的游戏,子弹从一个固定点发出,根据玩家点击屏幕的位置不同子弹发射的角度也不同,如果子弹撞到了木块则根据物理引擎然...
来源: Laya_社区 发布时间: 20181123
...tor3): boolean Defined in laya/maths/Matrix4x4.ts:545 分解矩阵为平移向量、旋转矩阵、缩放向量。 Parameters translation: Vector3 平移向量。 rotationMatrix: Matrix4x4 旋转矩阵。 scale: Vector3 缩放向量。 Returns boolean 是否分解成功。 decomposeTransRotScale dec...
来源: Laya3.0_api 发布时间: 20231115
...st _Up:Vector3 =/*[STATIC SAFE]*/ new Vector3(0, 1, 0);2.0.1 Vector3 /**零向量,禁止修改*/ public static const ZERO:Vector3 =/*[STATIC SAFE]*/ new Vector3(0.0, 0.0, 0.0); /**一向量,禁止修改*/ public static const ONE:Vector3 =/*[STATIC SAFE]*/ new Vector3(1.0, 1.0, 1.0); /**X轴单...
来源: Laya_社区 发布时间: 20190706
...、3D物理系统、3D动画系统十、3D基础的常用数学概念10.1 向量10.2 矩阵10.3 欧拉角、四元数10.4 射线10.5 包围体写在最后3D概念入门 Author :charley 学习最大的障碍就是未知,比如十八般兵器放在你面前都认不出来,又谈何驰骋沙场...
来源: Laya3.0_文档 发布时间: 20240910
...): void Defined in laya/d3/utils/Utils3D.ts:290 根据四元数旋转三维向量。 Parameters sourceArray: Float32Array sourceOffset: number rotation: Quaternion 旋转四元数。 outArray: Float32Array outOffset: number Returns void Static transformVector3ArrayToVector3ArrayCoordinate transformV...
来源: 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
...ectImplements laya.d3.core.IClone GradientDataVector2 类用于创建二维向量渐变。 Public Properties PropertyDefined By gradientCount : int[read-only] 二维向量渐变数量。GradientDataVector2Public Methods MethodDefined By GradientDataVector2() 创建一个 GradientDataVector2...
来源: laya_api 发布时间: 20170929
...ectImplements laya.d3.core.IClone GradientDataVector2 类用于创建二维向量渐变。 Public Properties PropertyDefined By gradientCount : int[read-only] 二维向量渐变数量。GradientDataVector2Public Methods MethodDefined By GradientDataVector2() 创建一个 GradientDataVector2...
来源: Laya2.0_api 发布时间: 20190513