• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0080 秒)

1251. 面板容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 84%]

...和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.panel.pos(100, 100); this.panel.size(200, 200); this.panel.scrollType = Laya.ScrollType.Both; //滚动类型:水平与垂直都滚动 this.panel.vScrollBarSkin = "atlas/comp/vscroll.png"; this.panel.hScrollBarSkin = "atl...

来源: Laya3.0_文档 发布时间: 20251010

1252. Laya下怎么实现复制 [ 84%]

... console.log(e); }); </script>         代码中使用   var pt=this.lbtn.localToGlobal(new Laya.Point(this.lbtn.x,this.lbtn.y)); pt.x -=this.lbtn.width /2; pt.y -=120; var gd=GameData.userData; this.yqm.text=gd.invCode; this.dt.text="邀请次数 "+gd.invFriends+"/99" var iframe = Browse...

来源: Laya_社区 发布时间: 20180626

1253. 苹果审核被打回 [ 84%]

...our app is compliant with the App Store Review Guidelines, please reply to this message in Resolution Center to explain how this feature works. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. 20...

来源: Laya_社区 发布时间: 20190730

1254. laya.filters.ColorFilter [ 84%]

...meters brightness:Number — 亮度,范围:-100~100 ReturnsColorFilter — this adjustColor()method  public function adjustColor(brightness:Number, contrast:Number, saturation:Number, hue:Number):ColorFilter 调整颜色,包括亮度,对比度,饱和度和色调 Parameters brightness:Number ...

来源: Laya2.0_api 发布时间: 20190513

1255. 使用graphsics.drawTexture画出来的图片与使用button创建同样宽高图形竟然不重合?? [ 84%]

...形竟然不重合?? 我使用一个Button创建的按钮,和使用 this.sprite_show = new Laya.Sprite(); this.sprite_show.graphics.drawTexture(Laya.loader.getRes(this.resStr), 0, 0, this.width, this.height); 画出来的两个对象,sprite_show的图形竟然被缩小了一点点。。。...

来源: Laya_社区 发布时间: 20171102

1256. Sprite3D的克隆(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 84%]

...e("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, this.onComplete)); } //完成回调 onComplete() { //获取资源 var layaMonkey = this.scene.addChild(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); //克隆sprite3d var layaMonkey_clone1 = L...

来源: Laya2.0_文档 发布时间: 20210715

1257. 求助高手请进,关于场景导入的问题~ [ 84%]

...载出来了Laya.loader.create("LayaScene_01/loveScene.ls",Handler.create(this,this.completeHandler)); private function completeHandler():void{     var scene:Scene = Laya.loader.getRes("LayaScene_01/loveScene.ls");     Laya.stage.addChild(scene); }   我现在的问题是,我创建一个继...

来源: Laya_社区 发布时间: 20170825

1258. Laya3D 官方请看:有关Laya.MeshSprite3D.instantiate的Bug [ 84%]

...ya.Sprite3D;  scene.addChild(temp);  temp.on(Laya.Event.HIERARCHY_LOADED,this,()=>  {  this.model = Laya.MeshSprite3D.instantiate(temp,scene) as Laya.MeshSprite3D;  if(index == 0)  {  this.model.transform.position = new Laya.Vector3(0.8,0,0);  }  });    //===================报错=====...

来源: Laya_社区 发布时间: 20180827

1259. ViewStack属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 84%]

...ed回调方法 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个UI实例 this.comp = new ui.ComponentDemoUI(); //添加到舞台上显示 Laya.stage.addChild(this.comp); //点击Tab选择按钮的处理 this.comp.tab.selectHan...

来源: Laya2.0_文档 发布时间: 20210715

1260. 在模型有刚体的情况下,怎么才能让模型只围绕一个轴进行旋转 [ 84%]

....load("h5/LayaScene_car/Conventional/car.lh",Laya.Handler.create(this,(sp:Laya.Sprite3D)=> { this.car = sp.getChildAt(0).getChildAt(0) as Laya.Sprite3D; this.scene.addChild(this.car); this.rig = (this.car.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D) })); 源 • 2019-01-11 20:47 ...

来源: Laya_社区 发布时间: 20190111