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

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

641. laya.ui.Image [ 77%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动...

来源: laya_api 发布时间: 20170929

642. laya.ui.VSlider [ 77%]

... Slider 的 value 属性值。 Slider alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为...

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

643. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 77%]

...demo,Texture类方法getPixels导致内存泄漏。 用的引擎版本是1.7.16beta。package { import laya.display.Sprite; import laya.events.Event; import laya.maths.Point; import laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import la...

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

644. laya.ui.List_API3.0 [ 77%]

...st.itemRender = Item;//设置 list 的单元格渲染器。 list.repeatX = 1;//设置 list 的水平方向单元格数量。 list.repeatY = 10;//设置 list 的垂直方向单元格数量。 list.vScrollBarSkin = "resource/ui/vscroll.png";//设置 list 的垂直方向滚动条皮肤。 list.array = ...

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

645. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 77%]

...目。 新手刚入门,请多多指教! 附件 : --> laya-demo.zip 2017-11-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 charley 赞同来自: 你的核心代码如下:function parseComplete(){ skeleton ...

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

646. laya.ui.AsynDialog [ 77%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动...

来源: laya_api 发布时间: 20170929

647. 文本-单行输入 [ 77%]

...putText = new Input(); Laya.stage.addChild(inputText); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; // 移动端输入提示符 inputText.prompt = "Type some word..."; // 设置字体样式 inputText.bold = ...

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

648. laya.ui.ProgressBar [ 77%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动...

来源: laya_api 发布时间: 20170929

649. UI-Button [ 77%]

...言、LayaAirIDE让项目开发更高效。let COLUMNS = 2, BUTTON_WIDTH = 147, BUTTON_HEIGHT = 165 / 3, HORIZONTAL_SPACING = 200, VERTICAL_SPACING = 100, xOffset, yOffset, skins; class UI_Button { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat...

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

650. laya.ui.LayoutBox [ 76%]

...tring 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...

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