大约有 2,299 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)
Laya_社区(1686) Laya2.0_文档(140) Laya3.0_api(124) Laya2.0_api(97) Laya3.0_文档(86) laya_api(69) Laya_示例(52) Laya2.0_示例(45)
...要崩溃啊。都不知道哪里会出现因为类型不对导致的bug 2017-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: 类型转换?能举个例子详细说明下...
来源: Laya_社区 发布时间: 20171025
...t.itemRender = initItem(item_width, item_height); list.repeatX = 1; list.size(width, height); list.x = x; list.y = y; list.vScrollBarSkin = ""; list.mouseHandler = new Handler(this, onSelect) list.selectEnable = true; list.selectHan...
来源: Laya_社区 发布时间: 20180724
...tring 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...
来源: Laya2.0_api 发布时间: 20190513
... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...
来源: Laya2.0_api 发布时间: 20190513
... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容...
来源: Laya2.0_api 发布时间: 20190513
...=args[4]; ctx.fillRect(x+args[0],y+args[1],args[2],args[3],null); } if (args[5] !=null){ ctx.strokeStyle=args[5]; ctx.lineWidth=args[6]; ...
来源: Laya_社区 发布时间: 20161210
...ctors constructor new TiledMap(): TiledMap Defined in laya/map/TiledMap.ts:144 Returns TiledMap Properties antiCrack antiCrack: boolean = true Defined in laya/map/TiledMap.ts:139 是否调整地块边缘消除缩放导致的缝隙 autoCache autoCache: boolean = true Defined in laya/map/TiledMap.ts:1...
来源: Laya3.0_api 发布时间: 20231115
... = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - text.width >> 1; text.y = Laya.stage.height - text.height >> 1; Laya.stage.addChild(text); } } new SmartScale_Portrait();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import WebGL = Laya.WebGL; export class SmartScale_P...
来源: Laya2.0_示例 发布时间: 20260303
... = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - text.width >> 1; text.y = Laya.stage.height - text.height >> 1; Laya.stage.addChild(text); } } new SmartScale_Landscape();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import WebGL = Laya.WebGL; export class SmartScale_...
来源: Laya2.0_示例 发布时间: 20260303
...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