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

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

41. list里面可以加入多个view吗? [ 50%]

...nction LayaAirDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { list=new List(); Laya.stage.addChild(list); list.itemRender=Item; list.repeatX=1...

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

42. laya.ui.Box_API3.0 [ 48%]

...rs _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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

43. laya.ui.List [ 48%]

...etBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UI...

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

44. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 46%]

...MIDDLE;     Laya.stage.alignH = Stage.ALIGN_CENTER;     Laya.stage.bgColor = '#0000ff';     Laya.stage.scaleMode = Stage.SCALE_SHOWALL;   var tiledMap;     var viewRect;     var mLastMouseX = 0;     var mLastMouseY = 0;      var mX = 0;     var mY = 0;      (fu...

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

45. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 45%]

...MIDDLE;     Laya.stage.alignH = Stage.ALIGN_CENTER;     Laya.stage.bgColor = '#0000ff';     Laya.stage.scaleMode = Stage.SCALE_SHOWALL;   var tiledMap;     var viewRect;     var mLastMouseX = 0;     var mLastMouseY = 0;      var mX = 0;     var mY = 0;      (fu...

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

46. laya.ui.ScaleBox_API3.0 [ 40%]

...rs _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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

47. laya.ui.Panel_API3.0 [ 40%]

...rs _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalSca...

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

48. laya.ui.LayoutBox_API3.0 [ 40%]

...HeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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

49. laya.ui.ViewStack_API3.0 [ 38%]

...rs _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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

50. laya.ui.VBox_API3.0 [ 38%]

...HeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphi...

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