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

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

281. laya.ui.HBox [ 65%]

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

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

282. 移动一个图片的位置,y的参数无效果 [ 65%]

...统下 blendMode='lighter' 图片异常 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? Texture图片能否进行翻转? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 matter中layasprite怎么改变图片大小? 我用list.array=Ar...

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

283. laya.ui.HSlider_API3.0 [ 65%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hSlider = new HSlider();//创建一个 HS...

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

284. laya.ui.VSlider_API3.0 [ 65%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { vSlider = new VSlider();//创建一个 VS...

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

285. laya.ui.HScrollBar_API3.0 [ 64%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onL...

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

286. laya.ui.VScrollBar_API3.0 [ 64%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():voi...

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

287. iphoneX返回的屏幕尺寸是2001*1125的,明显还是16:9的,这个适配应该怎么搞 [ 64%]

...几秒返回音乐音效全无 关于适配采用showAll后留白部分的颜色问题 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 我刚开始使用layabox,发布了一个h5,但是手机上应该...

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

288. laya.ui.LayoutBox [ 64%]

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

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

289. 为什么操作着色器中的varying会报错 [ 64%]

...exture;\ void main(){\ gl_FragColor = vec4(0,v_pos.y/1,0,1);\ }";   如果颜色用v_pos.y没有问题,但是一旦对这个做操作比如除1或者乘以1都会报"invalid shaders"这个错误,这是为什么   v_pos是顶点着色器传过来的 2018-08-06 添加评论 免费帖 --> ...

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

290. laya.ui.ViewStack [ 64%]

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

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