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

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

141. 加载-销毁Texture使用的图片资源 [ 92%]

... = "res/bg2.png", PathFly = "res/fighter/fighter.atlas"; class Loader_ClearTextureRes { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cli...

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

142. laya.ui.ColorPicker_API3.0 [ 92%]

...X scaleY scene scrollRect selectedColor skewX skewY skin stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains cu...

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

143. Text 能否支持字间距? [ 92%]

Text 能否支持字间距? Text 能否支持字间距? 类似letterspacing属性   自己封装一个Text虽然可以,但是既然来用框架引擎,就是图方便。都自己封装了,要引擎干嘛 2018-06-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

144. laya.ui.Slider_API3.0 [ 92%]

... scene scrollRect showProgress sizeGrid skewX skewY skin stage staticCache texture tick timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTim...

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

145. laya.media.VideoNode_API3.0 [ 92%]

...leY scene scrollRect seekable seeking skewX skewY source stage staticCache texture timer transform url videoHeight videoTexture videoWidth viewport visible volume width x y zOrder Methods _initialize _processActive _setX _setY addChild addChildAt addChildren addComponent addComponentInstance bubbleE...

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

146. laya.ui.ProgressBar_API3.0 [ 92%]

...scaleX scaleY scene scrollRect sizeGrid skewX skewY skin stage staticCache texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer co...

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

147. Text类中竟然没有pos函数的api~ [ 92%]

Text类中竟然没有pos函数的api~ 作为一个萌新,对于看不懂的方法就想去查看一下api文档 结果竟然没有。 我尝试了一下 这个pos 好像是设置与屏幕左上角的margin距离,不晓得我理解的对不对! 2018-04-11 添加评论 免费帖 --> 分享 微...

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

148. 调整text的间距 [ 92%]

调整text的间距 怎么缩小文字间距? 附件 : --> 2017-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 wudi199553 赞同来自: 横向间距没法改,你这是用了空格加大他的间距了...

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

149. LayaAir下加载阿拉伯TTF字体,手机上显示时左右顺序反了。 [ 92%]

... = "#0e277a"; Laya.stage.frameRate = "fast"; Config.atlasEnable = true;   Text.CharacterCache = false; Text.setTextRightToLeft(); //设置文字排版模式为右到左。 Styles.labelColor = "#FFFFFF"; Font.defaultColor = "#FFFFFF"; Font.defaultSize = 36; Font.defaultFamily = "Arial"; //Arial 微...

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

150. 文字从右往左显示异常 [ 92%]

文字从右往左显示异常 laya.display.Text.RightToLeft = true; let text = new laya.display.Text(); text.text = "abc"; text.fontSize = 60; Laya.stage.addChild(text); laya.display.Text.RightToLeft = true;加上这句后显示如图 [attach]12861[/attach] 附件 : --> 2018-06-04 添加评论 免...

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