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

大约有 976 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0076 秒)

861. 截屏函数异常E/LayaBox:className:layaair/game/browser/ExportJavaFunction,methodName:captureScreen [ 43%]

...措 修改stage的scale后,会发生异常情况 Text类中竟然没有pos函数的api~ 1.7.15 小游戏3d 发布后在手机预览显示异常 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”, 问题状态 最新活动: 2018-02-27 14:5...

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

862. 骨骼动画-藤蔓 [ 43%]

...ure = mFactory.buildArmature(1); Laya.stage.addChild(mArmature); mArmature.pos(mStartX, mStartY); mArmature.scale(0.5, 0.5); mArmature.on(Event.STOPPED, this, this.completeHandler); this.play(); } completeHandler() { this.play(); } play() { mCurrIndex++; let aniNum = mArmature.getAnimNum(); if (mCur...

来源: Laya2.0_示例 发布时间: 20241119

863. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 43%]

...templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play) this.play(); } private onError(): void{ console.log("parse error"); } private pl...

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

864. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 43%]

...一次 onAwake(): void { let radio: Laya.Radio = new Laya.Radio(); radio.pos(200, 200); radio.size(160, 64); radio.stateNum = 3; radio.selected = false; radio.skin = "atlas/comp/radio.png"; radio.label = "LayaAir"; radio.labelSize = 20; radio.labelBold = true; radio.labelVAlign = "top"; this.owner.a...

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

865. 分享:DrawToCanvas内存释放问题! [ 43%]

... btn:Sprite=new Sprite(); btn.graphics.drawRect(0,0,200,50,"#FF0000"); btn.pos(100,400); var text:Text=new Text(); text.text="Draw"; btn.addChild(text); Laya.stage.addChild(btn); btn.size(200,50); return btn; } //点击DrawToCanvas按钮,进行截屏 private function onClickBtnDraw():void { //此...

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

866. 骨骼动画-橡胶人 [ 43%]

...ure = mFactory.buildArmature(1); Laya.stage.addChild(mArmature); mArmature.pos(mStartX, mStartY); // mArmature.scale(0.5, 0.5); mArmature.on(Event.STOPPED, this, this.completeHandler); this.play(); } completeHandler() { this.play(); } play() { mCurrIndex++; let aniNum = mArmature.getAnimNum(); if (m...

来源: Laya2.0_示例 发布时间: 20241119

867. laya.ui.AdvImage_API3.0 [ 43%]

...hild callLater clearTimer contains customRender destroy destroyChildren dispose drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getS...

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

868. laya.display.Stage_API3.0 [ 43%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render renderToNative repaint replaceChild runCallLater scale setChildIndex setGraphics setScreenSize setScreenSizeForScene setSelfBounds set_a...

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

869. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 43%]

...mage.texture = new Laya.Texture(videoTexTure); this.addChild(image); image.pos(100,100); }); 2024-03-04 1 1 分享 微博 QZONE 微信 phhh 赞同来自: 2d播放视频要事件触发 2023-08-25 0 1 分享 微博 QZONE 微信 木易楊 赞同来自: 尝试过是否是微信限制需要点击在播...

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

870. laya.ui.ColorPicker_API3.0 [ 43%]

...rialize onAwake onDestroy onDisable onEnable once open parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_he...

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