大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
... = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQu...
来源: Laya_示例 发布时间: 20241118
... "#057AFB"); this.txt = new Text(); this.txt.text = "销毁"; this.txt.pos(75, 15); this.txt.fontSize = 25; this.txt.color = "#FF0000"; this.btn.addChild(this.txt); this.btn.pos(20, 160); Laya.stage.addChild(this.btn); //添加侦听 this.btn.on(Event.MOUSE_UP, this, this.onMouseUp); }; /** * 鼠标...
来源: Laya_示例 发布时间: 20241118
...= mtl; sphere.transform.localPosition = new Vector3((x-rnum/2)*(w/rnum), 0.75, -2); } for ( x = 0; x < rnum; x++) { mtl = new PBRMaterial(); mtl.diffuseTexture = Texture2D.load('../../../../res/threeDimen/pbr/copper.png'); mtl.normalTexture = Texture2D.load('../../../../res/threeDimen/pbr/n1.png'); ...
来源: Laya_示例 发布时间: 20241118