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

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

1. laya.d3.math.Plane_API3.0 [ 100%]

...neTo normalize createPlaneBy3P Constructors constructor new Plane(normal?: Vector3, d?: number): Plane Defined in laya/d3/math/Plane.ts:16 创建一个 Plane 实例。 Parameters Default value normal: Vector3 = new Vector3 平面的向量 Default value d: number = 0 平面到原点的距离 Returns ...

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

2. laya.d3.math.Plane [ 99%]

... 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

3. laya.d3.math.Plane [ 99%]

... 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

4. laya.d3.graphics.Vertex.VertexPositionTerrain [ 99%]

...纹理2顶点结构。 Public Properties PropertyDefined By  normal : Vector3[read-only] VertexPositionTerrain  position : Vector3[read-only] VertexPositionTerrain  textureCoord0 : Vector2[read-only] VertexPositionTerrain  textureCoord1 : Vector2[read-only] VertexPositionTerrain  vertexDe...

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

5. 自定义shader-简单shader [ 96%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1.5)); camera.addComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); lay...

来源: Laya_示例 发布时间: 20240930

6. 关于Laya.Quaternion.createFromAxisAngle旋转角度不正确的问题 [ 96%]

...结果有偏差   举例说明: 两个向量的夹角为N度,通过Laya.Vector3.cross(dir1,dir2,normal)获取两个向量的法线, 围绕法线将一个向量旋转N度时,不能与另一个向量重合   private testdir(){         //定义两个向量,算出向量夹角         v...

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

7. 自定义shader-边缘光照shader [ 95%]

...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.85, 1.7)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya...

来源: Laya_示例 发布时间: 20240930

8. laya.maths.Vector3_API3.0 [ 94%]

...c/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors constructor Properties x y z ForwardLH ForwardRH NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Methods...

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

9. laya.d3.math.Vector3_API3.0 [ 94%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors constructor Properties x y z ForwardLH ForwardRH NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Methods...

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

10. laya.d3.physicscannon.CannonContactPoint_API3.0 [ 92%]

...in laya/d3/physicsCannon/CannonContactPoint.ts:19 距离。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonContactPoint.ts:21 法线。 positionOnA positionOnA: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonContactPoint.ts:23 碰撞器A的碰撞点。 ...

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