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

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

11. 元素定义显示区域? [ 70%]

...导的抠图透明区域为黑色,其它机型都是正常的。 如何设置Sprite的宽高和点击区域? ui list 里面的元素能点击两次 问题状态 最新活动: 2018-04-13 17:27 浏览: 1137 关注: 2 人 sw3358335 • 2018-04-16 14:38 感谢

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

12. 精灵 · LayaAir3.0文档 · LAYABOX [ 70%]

...念。一个Sprite精灵对象默认的轴心点位于自身的左上角,设置Sprite精灵的位置时默认是以左上角为基准进行定位的。 轴心点是基准点,决定着Sprite在舞台的位置。轴心点以像素为单位,默认X、Y坐标为(0,0)表示图片左上角作为基...

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

13. 关于新手引导 [ 70%]

...ld(gameContainer); // 引导所在容器 guideContainer = new Sprite(); // 设置容器为画布缓存 guideContainer.cacheAs = "bitmap"; addChild(guideContainer); //绘制遮罩区,含透明度,可见游戏背景 var maskArea:Sprite = new Sprite(); maskArea.alpha = 0.5; maskArea.graphics.drawRe...

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

14. laya.media.SoundNode [ 69%]

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

来源: laya_api 发布时间: 20170422

15. laya.ui.FrameClip [ 69%]

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

来源: laya_api 发布时间: 20170422

16. laya.ui.Box [ 67%]

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

来源: laya_api 发布时间: 20170929

17. laya.ui.ScaleBox [ 67%]

...Component Sprite Node EventDispatcher Object 自适应缩放容器容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

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

18. laya.ui.VBox [ 67%]

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

来源: laya_api 发布时间: 20170929

19. laya.d3.core.scene.VRScene [ 67%]

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

来源: laya_api 发布时间: 20170422

20. laya.ui.HBox [ 67%]

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

来源: laya_api 发布时间: 20170929