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

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

151. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 48%]

...s._sources && (this._bitmap.source=this._sources[index]); if (this.label){ this._text.color=this._labelColors[index]; if (this._strokeColors)this._text.strokeColor=this._strokeColors[index]; } } __proto.changeClips=function(){ var img=Loader.getRes(this._skin); if (!img){ console.log("lose s...

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

152. 打包成Android应用,获取首页链接经常超时最后卡在加载界面 [ 48%]

...源 这个是怎么回事? 如何获取一个3D模型的长宽高? ui.Label经常崩掉 问题状态 最新活动: 2017-09-29 19:38 浏览: 1413 关注: 2 人

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

153. 动画不显示 [ 48%]

...gl.shapes.Ellipse;     import laya.display.Stage;     import laya.ui.Label;     import laya.events.Event;     import laya.utils.Browser;     import laya.utils.Timer;     import laya.display.Sprite;     import laya.net.Loader;     import laya.ui.TextArea;     import laya.re...

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

154. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 48%]

...kin,就显示skin属性名和对应的值。该栏不能修改。 `标签label`:该栏设置后,可以在项目中,通过标签名用代码对该帧进行操作。当设置标签后,设置标签的帧会出现红色圆点,如图24所示。 ![24](img/24.png)(图24) `是否缓动`:可以...

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

155. 如何实现3d遮罩效果? [ 41%]

...on(); btn.skin = "../../../../res/threeDimen/ui/button.png"; btn.label = "切换RenderTexture"; btn.labelBold = true; btn.labelSize = 20; btn.sizeGrid = "4,4,4,4"; btn.size(200, 30); btn.scale(Browser.pixelRatio, Browser.pixelRatio); btn.pos(Laya.stage.width / 2 - btn.w...

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

156. laya.display.AnimationBase_API3.0 [ 23%]

...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...

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