大约有 1,470 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0076 秒)
Laya_社区(905) Laya2.0_文档(193) Laya_示例(125) Laya2.0_示例(101) Laya3.0_api(79) Laya3.0_文档(63) laya_api(2) Laya2.0_api(2)
...LL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.ad...
来源: Laya_示例 发布时间: 20241118
...LL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addC...
来源: Laya_示例 发布时间: 20241118
...skeleton0.showSkinByIndex(1); //播放 skeleton0.play(0, true); Laya.stage.addChild(skeleton0); //创建第二个动画 var skeleton1: Laya.Skeleton; skeleton1 = this.templet.buildArmature(0); skeleton1.pos(500, 700); skeleton1.showSkinByIndex(1); skeleton1.play(0, true); Laya.stage.addChild(skeleto...
来源: Laya2.0_文档 发布时间: 20210715
...LL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, fal...
来源: Laya_示例 发布时间: 20241118
...LL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); 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 direction...
来源: Laya_示例 发布时间: 20241118
... 0, 180, 21); this.bar.graphics.drawTexture(texture2, 0, 0, 155, 12); this.addChild(this.bg); this.addChild(this.bar); } /** * 修改当前状态 */ _proto.changeValue = function(value){ this.value += value; if(this.value < this.MIN_VALUE){ this.value = this.MIN_VALUE; }else if(this.value > th...
来源: Laya_社区 发布时间: 20160803
...(skin, name, cb, index) { var btn = new Laya.Button(skin,name); Laya.stage.addChild(btn); btn.on(Laya.Event.CLICK,this,cb); btn.size(147,55); btn.name = name; btn.right = 10; btn.top = index * (btn.height + 10); return btn; } onLoaded(){ for (let index = 0; index = ["res/button.png", "res/button.png...
来源: Laya2.0_示例 发布时间: 20241118
...enMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()); var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); came...
来源: Laya_示例 发布时间: 20241118
...ion bg_rolling() { box = new laya.display.Sprite(); Laya.stage.addChild(box); bg1 = new laya.display.Sprite(); bg1.loadImage("res/bg1.png"); box.addChild(bg1); bg2 = new laya.display.Sprite(); bg2.loadImage("res/bg1.png"); bg2.pos(650, 0); box.ad...
来源: Laya_社区 发布时间: 20160721
...enMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()); var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vector3(0, 0.6, 1.1)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var d...
来源: Laya_示例 发布时间: 20241118