大约有 336 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0057 秒)
Laya_社区(177) Laya2.0_文档(60) Laya3.0_api(24) Laya_示例(21) Laya2.0_api(20) laya_api(19) Laya3.0_文档(15)
...is._layaMonkey = layaMonkey; //设置缩放 var tmpLocalScale = layaMonkey.transform.localScale; tmpLocalScale.setValue(0.3, 0.3, 0.3); layaMonkey.transform.localScale = tmpLocalScale; /*添加部分*/ _pos.x = Laya.stage.mouseX; _pos.y = Laya.stage.mouseY; //转换2D屏幕坐标系统到3D正交投...
来源: Laya2.0_文档 发布时间: 20210715
...is._layaMonkey = layaMonkey; //设置缩放 var tmpLocalScale = layaMonkey.transform.localScale; tmpLocalScale.setValue(0.3, 0.3, 0.3); layaMonkey.transform.localScale = tmpLocalScale; /*添加部分*/ _pos.x = Laya.stage.mouseX; _pos.y = Laya.stage.mouseY; //转换2D屏幕坐标系统到3D正交投...
来源: Laya2.0_文档 发布时间: 20210715
...ene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 1.5, 3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(...
来源: Laya_示例 发布时间: 20250221
... var instance = new Laya.MeshSprite3D(new Laya.BoxMesh(x, y, z)); instance.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); instance.transform.position = new Laya.Vector3(posX, posY, posZ); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load(textureUrl...
来源: Laya_社区 发布时间: 20180402
... 2019-02-14 0 1 分享 微博 QZONE 微信 soren 赞同来自: clownFish.transform.lookAt(new Laya.Vector3(1.3288445472717285,0.9997662901878357,-3.575782537460327), new Laya.Vector3(0,0,0)); Laya.Tween.to(clownFish.transform.position, { x: 1.3288445472717285, y: 0.9997662901878357, z: -3.5757825374...
来源: Laya_社区 发布时间: 20190213
...+ 1]]; var vertex2: Laya.Vector3 = positions[indices[i + 2]]; Laya.Vector3.transformCoordinate(vertex0, sprite3D.transform.worldMatrix, this.transVertex0); Laya.Vector3.transformCoordinate(vertex1, sprite3D.transform.worldMatrix, this.transVertex1); Laya.Vector3.transformCoordinate(vertex2, sprite3D...
来源: Laya3.0_文档 发布时间: 20250103
...Monkey = layaMonkey; //设置缩放 var tmpLocalScale:Vector3 = layaMonkey.transform.localScale; tmpLocalScale.setValue(0.3, 0.3, 0.3); layaMonkey.transform.localScale = tmpLocalScale; /*添加部分*/ _pos.x = Laya.stage.mouseX; _pos.y = Laya.stage.mouseY; //转换2D屏幕坐标系统到3D正交投...
来源: Laya2.0_文档 发布时间: 20210715
... = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project(this._position, this._camera.projectionViewMatrix, this._outPos); this._layaMonkey2D.pos(this._outPos.x / Laya.stage.clientScaleX, this._outPos...
来源: Laya2.0_文档 发布时间: 20210714
... = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project(this._position, this._camera.projectionViewMatrix, this._outPos); this._layaMonkey2D.pos(this._outPos.x / Laya.stage.clientScaleX, this._outPos...
来源: Laya2.0_文档 发布时间: 20210715
...= scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 0.1, 1))); box0.transform.position=new Laya.Vector3(1,0,0); var box1= scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 0.1, 1))); box1.transform.position=new Laya.Vector3(-1,0,0); 建立了2快板,显示如下: 我建了box0和...
来源: Laya_社区 发布时间: 20181214