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

大约有 2,991 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0166 秒)

1441. 如何使用3D场景2D人物进行混合开发(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 70%]

...ionViewMatrix, this._outPos); this._layaMonkey2D.pos(this._outPos.x / Laya.stage.clientScaleX, this._outPos.y / Laya.stage.clientScaleY); this._layaMonkey2D.scaleX = this._layaMonkey2D.scaleY = 0.125 * this._position.z + 0.75; ``` ![](img/2.gif)(图2)

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

1442. 第二次截屏不完整的问题 [ 70%]

第二次截屏不完整的问题 this.ui.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0).getCanvas().toDataURL() 第一次截图正常, 第二次截图就只有左下角一小块 同一个界面反复界面反复截图是没问题,界面重新创建之后就有问题了 附件 : --> 20...

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

1443. [LayaAir3]UI3d位置刷新问题 [ 70%]

...题 版本3.1.3, 演示场景为Scene1,携带ui3d的节点cube在移出stage之后重新加入stage并改变位置,ui3d的变换并没有刷新,直到节点cube改变旋转或者缩放时ui3d的变换才刷新 附件 : --> TestUI3d.zip 2024-04-30 添加评论 免费帖 --> 分享 微博 QZONE ...

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

1444. laya.ui.ProgressBar_API3.0 [ 70%]

...ressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComple...

来源: Laya3.0_api 发布时间: 20231115

1445. laya.ui.Radio_API3.0 [ 70%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D label labelAlign labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeCol...

来源: Laya3.0_api 发布时间: 20231115

1446. 请问video可以像其他组件一样使用addChild添加到panel中么 [ 70%]

...组件一样使用addChild添加到panel中么 我的页面开发这样:stage->panel->panel中内容,stage宽高375*603,panel宽高375*603,pannel中内容宽高3000*603,也就是说panel中内容靠panel左右滑动才能观看,我想把一些视频放进panel内容中,请问一...

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

1447. radioGroup设置labels后,每个radio的icon皮肤无法显示了 [ 70%]

...景代码里: var dialog = new QuestionDialogUI();          Laya.stage.addChild(dialog);          dialog.popup();          dialog.btn_question_dialog_next.on(Laya.Event.CLICK, this, onNext); dialog.radioGroup_question.labels = "如果资源未加载,则先加载资源,\...

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

1448. TiledMap中的gridWidth|(块的宽度)是哪一部分啊? [ 70%]

...ap("res/tiledMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height),Handler.create(this,onComplete)); } private function onComplete():void { // TODO Auto Generated method stub trace(tiledMap.tileWidth,tiledMap.tileHeight); }   2016-07-18 0 0 分享 微博 QZON...

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

1449. laya.ui.HSlider_API3.0 [ 70%]

...HSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

来源: Laya3.0_api 发布时间: 20231115

1450. laya.ui.VSlider_API3.0 [ 70%]

...VSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

来源: Laya3.0_api 发布时间: 20231115