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

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

1. laya.net.LoaderManager [ 100%]

...,否则会导致不可预料的问题。 LoaderManager  cacheRes(url:String, data:*):void 缓存资源。 LoaderManager  cancelLoadByUrl(url:String):void 根据地址清理掉未加载的内容 LoaderManager  cancelLoadByUrls(urls:Array):void 根据地址集合清理掉未加载的内容 Loa...

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

2. laya.display.Animation [ 96%]

...示不透明。更改alpha值会影响drawcall。Sprite  autoAnimation : String[write-only] 设置自动播放的动画名称,在LayaAir IDE中可以创建的多个动画组成的动画集合,选择其中一个动画名称进行播放。 Animation  autoPlay : Boolean[write-only] 是否自动...

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

3. laya.resource.Texture [ 87%]

...ber = 0原始宽度(包括被裁剪的透明区域)。Texture  url : String = null图片地址Texture  uv : ArrayTexture  width : Number 实际宽度。TexturePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Texture(bitmap:Texture2D = null, uv...

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

4. laya.display.Input [ 86%]

...archy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透...

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

5. laya.map.MapLayer [ 86%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

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

6. laya.ani.bone.Skeleton [ 86%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

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

7. laya.ui.Label [ 86%]

...chy : Boolean[read-only] 获取在场景中是否激活。 Node  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不...

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

8. laya.ui.Button [ 85%]

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

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

9. laya.display.Stage [ 85%]

...hy : Boolean[read-only] 获取在场景中是否激活。 Node  alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage  alignV : String 垂直对齐方式。默认值为"top"。 取值范...

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

10. laya.ui.ColorPicker [ 85%]

...获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  borderColor : String 表示颜色样本列表面板的边框颜色...

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