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

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

1. laya.net.URL [ 100%]

...回。 URL  getFileName(url:String):String[static] 获取指定 URL 的文件名。 URLProperty DetailbasePathpropertypublic static var basePath:String基础路径。customFormatproperty public static var customFormat:Function 自定义url格式化。例如: customFormat = function(url:String):...

来源: laya_api 发布时间: 20170929

2. laya.media.SoundManager [ 61%]

...音乐,再播发当前的背景音乐。 Parameters url:String — 声音文件地址。  loops:int (default = 0) — 循环次数,0表示无限循环。  complete:Handler (default = null) — 声音播放完成回调。  startTime:Number (default = 0) — 声音播放起始时间。 ReturnsSou...

来源: laya_api 发布时间: 20170929

3. laya.d3.resource.TextureCube [ 61%]

...*[read-only] 获取纹理资源。 BaseTexture  srcs : String[read-only] 文件路径全名。 TextureCube width : int[read-only] 获取宽度。 BaseTextureProtected Properties PropertyDefined By  _needReleaseAgain : Boolean = false异步加载完成后是否需要释放(有可能在恢复...

来源: laya_api 发布时间: 20170929

4. laya.d3.resource.DataTexture2D [ 52%]

...d-only] 获取纹理资源。 BaseTexture  src : String[read-only] 获取文件路径全名。 DataTexture2D width : int[read-only] 获取宽度。 BaseTexturePublic Methods  MethodDefined By  DataTexture2D() 创建一个 Texture2D 实例。 DataTexture2D  create(data:ArrayBuffer, w:int, h:i...

来源: laya_api 发布时间: 20170929

5. laya.display.Text [ 43%]

...me:String, destroy:Boolean = true):void[static] 移除注册的位图字体文件。 Text updateZOrder():void根据zOrder进行重新排序。SpriteProtected Methods  MethodDefined By  renderText(begin:int, visibleLineCount:int):void 渲染文字。 TextEvents Hide Inherited Events Show Inherite...

来源: laya_api 发布时间: 20170929

6. laya.display.Animation [ 32%]

...key-value键值对存储,key可以自定义,也可以从指定的配置文件中读取,value为对应的动画模版,是一个Graphics对象数组,每个Graphics对象对应一个帧图像,动画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadA...

来源: laya_api 发布时间: 20170929

7. laya.display.Input [ 25%]

...me:String, destroy:Boolean = true):void[static] 移除注册的位图字体文件。 Text updateZOrder():void根据zOrder进行重新排序。SpriteProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By renderText(begin:int, visibleLineCount:int):void...

来源: laya_api 发布时间: 20170929