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

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

101. laya.ui.Tree [ 43%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源,...

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

102. laya.ui.Clip [ 43%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  autoPlay : Boolean 表示是否...

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

103. laya.ui.ScrollBar [ 43%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

104. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 43%]

...-20190307200032836.png?lastModify=1551962708class Main { constructor() { //设置子域 Laya.isWXOpenDataContext = true; Laya.isWXPosMsg = true; //根据IDE设置初始化引擎 Laya.init(GameConfig.width, GameConfig.height,false); Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stage.screenMode =...

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

105. laya.ui.Dialog [ 43%]

...实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果想有任...

来源: laya_api 发布时间: 20170929

106. laya.ui.ScrollBar [ 42%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  autoHide : Boolean = false一个...

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

107. laya.ui.List_API3.0 [ 41%]

..._Example { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/...

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

108. laya.ui.List [ 40%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

109. laya.ui.List [ 40%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源。...

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

110. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 39%]

... //这里是重点,文字的效果我们是通过svg支持的css样式来设置 text-shadow设置的是文字的css样式效果,假如开发者想改变文字的样式,可以修改style即可。 ``` 上面是在JavaScript中,用原生的dom元素img来进行显示,那么在游戏中我们...

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