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

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

141. laya.ui.Button [ 55%]

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

来源: laya_api 发布时间: 20170929

142. laya.ui.HSlider_API3.0 [ 55%]

...hSlider:HSlider; public function HSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 ...

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

143. laya.ui.VSlider_API3.0 [ 55%]

...vSlider:VSlider; public function VSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 ...

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

144. laya.ui.Label [ 55%]

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

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

145. laya.ui.TextInput [ 55%]

...onent  asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而是实际字...

来源: laya_api 发布时间: 20170929

146. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 55%]

...aya初始化 Laya.init(852, 480, Laya.WebGL); //FPS Laya.Stat.show(0,0); //设置适配模式 Laya.stage.scaleMode = "exactfit"; //设置剧中对齐 Laya.stage.alignH = "center"; //设置横屏 Laya.stage.screenMode = "horizontal";   打开浏览器(哦这里要说一下 因为浏览器有本地...

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

147. laya.ui.ComboBox [ 55%]

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

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

148. laya.ui.TextInput [ 54%]

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

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

149. 预览运行面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...的入口来率先加载与显示的。如图1-4所示,在构建发布中设置启动场景。 (图1-4) 但是在项目预览运行调试的时候,有的时候并希望将启动场景优先显示,这会使得调试流程变的很长。所以,点击图1-5红圈中的下拉箭头,可...

来源: Laya3.0_文档 发布时间: 20251010

150. laya.ui.Button [ 54%]

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

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