大约有 654 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya_社区(365) Laya3.0_api(124) Laya2.0_文档(97) Laya_示例(42) Laya3.0_文档(17) laya_api(5) Laya2.0_api(4)
...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
... 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
...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
...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
...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
...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
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
...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
...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
...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