大约有 919 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0048 秒)
Laya_社区(468) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(14)
...rt(out:Matrix3x3):void 计算3x3矩阵的逆矩阵 Matrix3x3 lookAt(eye:Vector3, target:Vector3, up:Vector3, out:Matrix3x3):void[static] 计算观察3x3矩阵 Matrix3x3 multiply(left:Matrix3x3, right:Matrix3x3, out:Matrix3x3):void[static] 两个3x3矩阵的相乘 Matrix3x3 rotate(rad:Number...
来源: laya_api 发布时间: 20170929
...rt(out:Matrix3x3):void 计算3x3矩阵的逆矩阵 Matrix3x3 lookAt(eye:Vector3, target:Vector3, up:Vector3, out:Matrix3x3):void[static] 计算观察3x3矩阵 Matrix3x3 multiply(left:Matrix3x3, right:Matrix3x3, out:Matrix3x3):void[static] 两个3x3矩阵的相乘 Matrix3x3 rotate(rad:Number...
来源: Laya2.0_api 发布时间: 20190513
....Camera(0, 0.1, 100))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); //添加方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLigh...
来源: Laya2.0_文档 发布时间: 20210714
...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
...nsformations Constructors constructor new StaticPlaneColliderShape(normal: Vector3, offset: number): StaticPlaneColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/StaticPlaneColliderShape.ts:22 创建一个新的 StaticPlaneColliderShape 实例。 Parameters normal: V...
来源: Laya3.0_api 发布时间: 20231115
...nimator) as Laya.Animator; console.log("11"); } public RoleMove(dir:Laya.Vector3) { let norDir:Laya.Vector3 = Laya.Vector3.ZERO; Laya.Vector3.normalize(dir,norDir); console.log(norDir); //this.sprite.transform.translate(norDir,false); // let position = Laya.Vector3.ZERO; // Laya.Vector3.add(this.s...
来源: Laya_社区 发布时间: 20191026
...ore/pixelLine/PixelLineData.ts:15 线结束颜色 endPosition endPosition: Vector3 = new Vector3() Defined in laya/d3/core/pixelLine/PixelLineData.ts:11 线结束位置 startColor startColor: Color = new Color() Defined in laya/d3/core/pixelLine/PixelLineData.ts:13 线开始颜色 startPosition star...
来源: Laya3.0_api 发布时间: 20231115
...ya.Camera; camera.orthographic = true; camera.transform.translate(new Laya.Vector3(0, 4, 8),false); camera.transform.lookAt(new Laya.Vector3(0,0,0),new Laya.Vector3(0,1,0)); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //移动...
来源: Laya_社区 发布时间: 20180302
为什么动态设置聚光灯朝向无效呢 var tar = new Laya.Vector3(); var dir = new Laya.Vector3(); var src = model.transform.position; spotLight.transform.position = camera.transform.position; Laya.Vector3.subtract(src, camera.transform.position,tar); Laya.Vector3.normalize(tar, dir); spotLi...
来源: Laya_社区 发布时间: 20171105