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

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

181. laya接入fairyGUI的时候资源加载方式? [ 77%]

...@param complete * @param progress * @param priority */ public load(resKey: string, otherLoadData: any, complete?: Laya.Handler, progress?: Laya.Handler, priority?: number) { if (priority) { this.priority = priority; } else { this.priority = 1; } if (progress) { progress.once = false; } let loadData:...

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

182. laya.ani.swf.MovieClip [ 77%]

...获取。设置为true,对性能有一定影响。 Sprite  basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会...

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

183. Animation 的createFrames 使用已经加载的图集缓存动画失败 [ 77%]

...有要求的,见以下代码片段(laya.net.Loader):var directory:String = (this._data.meta && this._data.meta.prefix) ? URL.basePath + this._data.meta.prefix : this._url.substring(0, this._url.lastIndexOf(".")) + "/"; var url:String = directory + name; loadedMap[url] = Texture.creat...

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

184. laya.utils.Utils [ 77%]

...Utils 是工具类。 Public Properties PropertyDefined By  parseXMLFromString : Function[static] 将字符串解析成 XML 对象。 UtilsPublic Methods  MethodDefined By  bind(fun:Function, scope:*):Function[static] 给传入的函数绑定作用域,返回绑定后的函数。 Utils  fit...

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

185. 全局动画不能加载 [ 77%]

...che(this._url+"#"+name); this._isPlaying=true; this.index=((typeof start=='string'))? this._getFrameByLabel(start):start; this.loop=loop; if (this._frames && this._frames.length > 1 && this.interval > 0){ this.timerLoop(this.interval,this,this._frameLoop,null,true); } } __proto...

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

186. laya.d3.component.animation.SkinAnimations [ 77%]

...Component3D  templet : AnimationTemplet[override] SkinAnimations url : String[write-only] 设置url地址。 KeyframeAnimationsProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _player : AnimationPlayer动画播放器。KeyframeAnima...

来源: laya_api 发布时间: 20170929

187. laya.display.Animation_API3.0 [ 77%]

...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...

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

188. laya.d3.core.Camera_API3.0 [ 77%]

..._up Defined in laya/d3/core/BaseCamera.ts:176 up向量 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 clearFlag clearFlag: CameraClearFlags = CameraClearFlags.SolidColor Defined in laya/d3/core/Camera.ts:368 清除标记。 enableRender enableRender: boolean =...

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

189. laya.media.Sound_API3.0 [ 77%]

...aya/media/Sound.ts:38 释放声音资源。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如...

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

190. 加载-错误处理和进度 [ 77%]

...): void { console.log("加载进度: " + progress); } private onError(err: String): void { console.log("加载失败: " + err); } } } new laya.Loader_ProgressAndErrorHandle();package { import laya.events.Event; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; public c...

来源: Laya_示例 发布时间: 20240930