大约有 238 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0038 秒)
...认知。最后简单介绍一些3D数学的基础常用概念。例如: 向量、 矩阵、 欧拉角、四元数、射线、包围体。 ##### 1、向量 既有大小又有方向的量称之为向量(物理学叫矢量),向量也有维度,例如,2维、3维、4维。与向量对应的...
来源: Laya2.0_文档 发布时间: 20210714
...的Quaternion.FromToRotation类似的接口可用? 就是创建从一个向量到另外一个向量的旋转Quaternion.FromToRotation(Vector3,Vector3),返回一个用四元数表示的旋转 2018-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20180921
...: Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane PlaneIntersectionType_Back : int = 0[static] 平面与其他几何体相交类型Plane PlaneIntersectionType_Front : int = 1[static] Plane PlaneIntersectionType_Intersecting : int = 2[static] PlanePublic ...
来源: laya_api 发布时间: 20170929
...: Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane PlaneIntersectionType_Back : int = 0[static] 平面与其他几何体相交类型Plane PlaneIntersectionType_Front : int = 1[static] Plane PlaneIntersectionType_Intersecting : int = 2[static] PlanePublic ...
来源: Laya2.0_api 发布时间: 20190513
...个特性属性有两种表示方式,可以用角度表示,也可以用向量表示,其实是都是定义的光源方向。如图2-1所示。 (图2-1) 属性名 属性中文名称 属性说明 directionAngle 光源方向角度 基于角度值设置光照方向,对阴影产生影响。当设...
来源: Laya3.0_文档 发布时间: 20250214
...颜色。 Parameters index: number shader索引。 Returns Vector4 颜色向量。 getVector2 getVector2(index: number): Vector2 Defined in laya/d3/shader/ShaderData.ts:140 获取Vector2向量。 Parameters index: number shader索引。 Returns Vector2 Vector2向量。 getVector3 getVector3(index: n...
来源: Laya3.0_api 发布时间: 20231102
lookAt的用法 lookAt中的第二个参数"up"向上向量是什么意思?能通俗的解释一下吗,新手,见谅 2017-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 183*****755 赞同来自: Humme...
来源: Laya_社区 发布时间: 20170810
...7 获取颜色。 Parameters index: number shader索引。 Returns Vector4 向量。 getVector2 getVector2(index: number): Vector2 Inherited from NativeShaderData.getVector2 Defined in laya/RenderEngine/RenderShader/ShaderData.ts:245 获取Vector2向量。 Parameters index: number shader索引。 Re...
来源: Laya3.0_api 发布时间: 20231115
...Vector2 Class GradientDataVector2 GradientDataVector2 类用于创建二维向量渐变。 Hierarchy GradientDataVector2 Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo Constructors constructor new GradientDataVector2(): GradientDataVector2 Defined ...
来源: Laya3.0_api 发布时间: 20231115
...内容相关的链接 提交 3 个回复 sand 赞同来自: 把全部东西向量化,,,先求面ABC的法线,这个直接有公式的,点乘还是叉乘自己找,然后AC绕着法线旋转一定角度,这个可以用四元组解决,Laya也有相应的接口。然后求得一个新的...
来源: Laya_社区 发布时间: 20191224