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

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

241. laya.ui.ViewStack [ 77%]

...lements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall...

来源: laya_api 发布时间: 20170929

242. 场景(View)通过runtime挂载脚本后,通过UI编辑器设置的位置属性(bottom等)失效,必现 [ 77%]

场景(View)通过runtime挂载脚本后,通过UI编辑器设置的位置属性(bottom等)失效,必现 必现步骤: 1、新建场景,场景类型是View,宽高为标准设计图750*1334,加一张背景图填满场景 2、设置配置文件scaleMode 为fixedwidth,通过laya2...

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

243. laya.ui.HSlider [ 77%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式...

来源: laya_api 发布时间: 20170929

244. laya.ui.View [ 76%]

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

来源: laya_api 发布时间: 20170929

245. laya.physics.PhysicsDebugDraw [ 76%]

...t 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...

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

246. 建议:Laya.init(width, height)设定后可以动态调整 [ 76%]

...链接 提交 2 个回复 cuixueying 赞同来自: 1、为你的Laya.init设置一个变量 var w:Number=500; var h:Number=400; Laya.init(w,h); 2/请为你的舞台监听Event.RESIZE事件,再Event.Resize下通过Browser.window.width和Browrowser.window.height获取屏幕宽高,将获取...

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

247. laya.ui.LayoutBox [ 76%]

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

来源: laya_api 发布时间: 20170929

248. 动画加载成功后设置的描点,在电脑上运行正常,打包APK后到手机上运行,描点未生效 [ 76%]

动画加载成功后设置的描点,在电脑上运行正常,打包APK后到手机上运行,描点未生效 if(anin==null)anin=new Animation(); anin.loadAtlas(url,Handler.create(this,onloaded),url); anin.autoSize=true; anin.autoPlay=false; anin.interval=interval;   private function onloaded...

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

249. laya.ani.swf.MovieClip [ 76%]

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

来源: laya_api 发布时间: 20170929

250. laya.ui.Tab [ 76%]

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

来源: laya_api 发布时间: 20170929