大约有 6,579 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0118 秒)
Laya_社区(5232) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(101) Laya2.0_api(67) laya_api(64)
...Complete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //...
来源: Laya2.0_文档 发布时间: 20210714
...ya.PhysicsSimulation的成员函数,已经不是静态函数了,但是 new Laya.PhysicsSimulation(new Laya.PhysicsSettings());会报错,请问如何射线检测? 附件 : --> 2019-05-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20190505
...TML(); // 使用外部定义的html } function createParagraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = "使用"; html += "HTMLDivElement"; html += "创建的"; html += "HTML文本"; p.innerHTML = html; } function showExtern...
来源: Laya_示例 发布时间: 20251130
...SkinLoaded)); })(); function onColorPickerSkinLoaded() { var colorPicker = new ColorPicker(); colorPicker.selectedColor = "#ff0033"; colorPicker.skin = skin; colorPicker.pos(100, 100); colorPicker.changeHandler = new Handler(this, onChangeColor, [colorPicker]); Laya.stage.addChild(colorPicker); onCh...
来源: Laya_示例 发布时间: 20251130
...边、span标签内嵌的方式】 示例如下: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span style='font-weight:bold;" + "font:24px Arial' " + "color='red' " + "href='www.baidu.com'>" + "LayaBox</span><span>欢迎你的加入</span>" Laya.stage.addChil...
来源: Laya_社区 发布时间: 20161027
... Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene3D()); Laya.timer.loop(1, this, this.loopfun); } loopfun(){ this.lastT = Date.now(); let dis = 1; if(!this.cubeP){ this...
来源: Laya_社区 发布时间: 20200223
...ProgressBar = Laya.ProgressBar, Handler = Laya.Handler; this.progressBar = new ProgressBar("res/ui/progressBar.png"); Laya.stage.addChild(this.progressBar); this.progressBar.width = 400; this.progressBar.x = (Laya.stage.width - this.progressBar.width ) / 2; this.progressBar.y = Laya.stage.height / 2...
来源: Laya2.0_示例 发布时间: 20251130
...Complete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //...
来源: Laya2.0_文档 发布时间: 20210715
...两个 但是三个同样的图片没问题 this.publicSpaceList = new Laya.List(); this.publicSpaceList.itemRender = gamepublicspaceitem.PublicSpaceItem; this.publicSpaceList.repeatX = 1; this.publicSpaceList.repeatY = 3; this.publicSpaceList.spaceY = 0; // this.publicSpaceList.x = 22; this.p...
来源: Laya_社区 发布时间: 20170923
....stage.alignV = "middle"; Laya.stage.bgColor = "#ffffff"; this.gameLoading=new ui.GameLoadingUI(); //创建加载进度文本 var asset = [] asset[0] = { url: "res/atlas/run.json", type: Laya.Loader.ATLAS } asset[1] = { url: "res/bg.png", type: Laya.Loader.IMAGE } asset[2] = { url: "res/bg1.png", ty...
来源: Laya_社区 发布时间: 20170103