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

大约有 654 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)

151. laya.d3.physicscannon.CannonHitResult_API3.0 [ 84%]

...laya/d3/physicsCannon/CannonHitResult.ts:17 碰撞分数。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonHitResult.ts:15 碰撞法线。 point point: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonHitResult.ts:13 碰撞点。 succeeded succeeded: bool...

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

152. laya.d3.physics.HitResult_API3.0 [ 84%]

... Defined in laya/d3/physics/HitResult.ts:17 碰撞分数。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physics/HitResult.ts:15 碰撞法线。 point point: Vector3 = new Vector3() Defined in laya/d3/physics/HitResult.ts:13 碰撞点。 succeeded succeeded: boolean = false Defined in l...

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

153. 正交摄像机裁剪问题 [ 84%]

...dChild(new Laya.Camera(0, 0.1, 550))); camera.transform.translate(new Laya.Vector3(250, 1, 0)); var rotation = new Laya.Quaternion; Laya.Quaternion.lookAt(camera.position, new Laya.Vector3(0, 0, 0), camera.up, rotation); camera.transform.rotation = rotation; camera.clearColor = new Laya.Vector4(1, 1...

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

154. 请问我导入3d模型一直找不到它 [ 84%]

...irectionLight;             directionLight.ambientColor = new Laya.Vector3(0.7, 0.6, 0.6);             directionLight.specularColor = new Laya.Vector3(1.0, 1.0, 0.9);             directionLight.diffuseColor = new Laya.Vector3(1, 1, 1);             directionLight.di...

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

155. VR场景-VR场景 [ 84%]

...aya.VRCamera(0.03, 0, 0, 0.1, 100)); vrCamera.transform.translate(new Laya.Vector3(0, 2, 0)); vrCamera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; vrCamera.addComponent(VRCameraMoveScript); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox2...

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

156. laya.d3.math.BoundBox_API3.0 [ 84%]

...oDefault createfromPoints merge Constructors constructor new BoundBox(min: Vector3, max: Vector3): BoundBox Defined in laya/d3/math/BoundBox.ts:17 创建一个 BoundBox 实例。 Parameters min: Vector3 包围盒的最小顶点。 max: Vector3 包围盒的最大顶点。 Returns BoundBox Properties ...

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

157. Laya.Vector3小数的问题,很奇怪啊 [ 84%]

Laya.Vector3小数的问题,很奇怪啊 var v: Laya.Vector3 = new Laya.Vector3(1.1069, 0, 0);  console.log(v.x);   输出:1.1068999767303467 而不是1.1069   我想保留2位或3位小数,不管你怎么设置,然而始终无效。1.1068999767303467   怎么解? 2019-03-06 添加评...

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

158. laya.d3.math.Matrix4x4_API3.0 [ 84%]

...urns void decomposeTransRotMatScale decomposeTransRotMatScale(translation: Vector3, rotationMatrix: Matrix4x4, scale: Vector3): boolean Defined in laya/d3/math/Matrix4x4.ts:523 分解矩阵为平移向量、旋转矩阵、缩放向量。 Parameters translation: Vector3 平移向量。 rotationMatrix...

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

159. .lh 文件不能在同一js文件内重复引用吗? [ 84%]

...addChild(shelf0);            shelf0.transform.translate(new Laya.Vector3(-4,1.2,35));            var shelf3 = Laya.Sprite3D.load("DoorShelf/shelf.lh");            this.scene.addChild(shelf3);            shelf3.transform.translate(new Laya.Vector3(0,1.2,35)); ...

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

160. laya.d3.math.Ray_API3.0 [ 84%]

...rties direction origin Methods at Constructors constructor new Ray(origin: Vector3, direction: Vector3): Ray Defined in laya/d3/math/Ray.ts:10 创建一个 Ray 实例。 Parameters origin: Vector3 射线的起点 direction: Vector3 射线的方向 Returns Ray Properties direction direction: Vector3 ...

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