大约有 164 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0027 秒)
Laya_社区(42) Laya_示例(40) Laya3.0_api(26) Laya2.0_api(18) Laya2.0_文档(15) laya_api(14) Laya3.0_文档(9)
...链接 提交 1 个回复 Laya_Aaron 赞同来自: sheen 硬算代码: vector3d为旋转轴ac轴, point3d为B点, 返回结果为D点 PointRoundVector( vector3d: Vector3, point3d: Vector3 , Aplha: number ): Vector3{ let u:number = point3d.x; let v:num...
来源: Laya_社区 发布时间: 20191218
...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 6, 10)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var glitter = scene.addChild(new Laya.Glitter()); var glitterTemplet = glitter.templet; var glitterMaterial = glitter.glitterRender.shared...
来源: Laya_示例 发布时间: 20241124
...用于创建射线。 Public Properties PropertyDefined By direction : Vector3方向Ray origin : Vector3原点RayPublic Methods MethodDefined By Ray(origin:Vector3, direction:Vector3) 创建一个 Ray 实例。 RayProperty Detaildirectionpropertypublic var direction:Vector3方向originpr...
来源: laya_api 发布时间: 20170929
...用于创建射线。 Public Properties PropertyDefined By direction : Vector3方向Ray origin : Vector3原点RayPublic Methods MethodDefined By Ray(origin:Vector3, direction:Vector3) 创建一个 Ray 实例。 RayProperty Detaildirectionpropertypublic var direction:Vector3方向originpr...
来源: Laya2.0_api 发布时间: 20190513
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Vector2Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector2InheritanceVector2 ObjectImplements laya.d3.core.IClone Vector2 类用于创建二维向量。 Public Properties PropertyDefined By el...
来源: laya_api 发布时间: 20170929
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vecto...
来源: Laya_示例 发布时间: 20241124
.../向量BA var CA;//向量CA var cosA;//角A余弦 var jA;//角A A=new Laya.Vector3(a1,a2,a3); B=new Laya.Vector3(b1,b2,b3); C=new Laya.Vector3(c1,c2,c3); BA=new Laya.Vector3(a1-b1,a2-b2,a3-b3); CA=new Laya.Vector3(a1-c1,a2-c2,a3-c3); cosA= ((a1-b1)*(a1-c1)+(a2-b2)*(a2-c2)+(a3-b3)*(a3-c3))/(Math.sqrt...
来源: Laya_社区 发布时间: 20191223
...类用于创建包围盒。 Public Properties PropertyDefined By max : Vector3最大顶点。BoundBox min : Vector3最小顶点。BoundBoxPublic Methods MethodDefined By BoundBox(min:Vector3, max:Vector3) 创建一个 BoundBox 实例。 BoundBox clone():* 克隆。 BoundBox cloneTo...
来源: Laya2.0_api 发布时间: 20190513
... By distance : Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane PlaneIntersectionType_Back : int = 0[static] 平面与其他几何体相交类型Plane PlaneIntersectionType_Front : int = 1[static] Plane PlaneIntersectionType_Intersecting : int = 2[stat...
来源: laya_api 发布时间: 20170929
... By distance : Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane PlaneIntersectionType_Back : int = 0[static] 平面与其他几何体相交类型Plane PlaneIntersectionType_Front : int = 1[static] Plane PlaneIntersectionType_Intersecting : int = 2[stat...
来源: Laya2.0_api 发布时间: 20190513