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

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

881. Image.loadImage 方法加载问题 [ 83%]

...is.publicSpaceList ); public setPublicSpacesData (_publicSpacesInfo:any) : void ///调用这个方 传入参数 里面有每一个图片的名字 {  this.publicSpacesInfo = _publicSpacesInfo;  this.publicSpaceList.array = this.publicSpacesInfo; } private updateListItem(cell: gamepublicspaceitem.Pu...

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

882. 更新最新版layaNative0.98 返回键问题 [ 83%]

...        Browser.window['conch'].setOnBackPressedFunction(function():void{                     if(n-- <=0){                         Browser.window['conch'].exit();                     }                 });             } 这...

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

883. 图片添加点击事件 有的不生效 [ 83%]

图片添加点击事件 有的不生效 private init():void { //添加点击事件处理 this.v_btn_boy.on(Laya.Event.CLICK, this, this.onClickBtnBoy); this.v_btn_friend.on(Laya.Event.CLICK, this, this.onClickBtnFriend); this.v_btn_shop.on(Laya.Event.CLICK, this, this.onClickBtnShop); console.log(...

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

884. 网络和格式-XML [ 83%]

... this.proessXML(xmlValue); } // 使用xml private proessXML(source:string):void { try { var xml:any = Utils.parseXMLFromString(source); } catch (e) { console.log(e.massage); return; } this.printDirectChildren(xml); } // 打印直接子级 private printDirectChildren(xml:any):void { var rootNode:any ...

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

885. laya.d3.shader.ShaderVariantCollection_API3.0 [ 83%]

...s variant: ShaderVariant 着色器变种。 Returns boolean clear clear(): void Defined in laya/d3/shader/ShaderVariantCollection.ts:205 清空。 Returns void compile compile(): void Defined in laya/d3/shader/ShaderVariantCollection.ts:212 执行编译。 Returns void contatins contatins(variant: S...

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

886. laya.d3.physics.constraints.ConstraintComponent [ 82%]

... 创建一个 ConstraintComponent 实例。 ConstraintComponent destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用...

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

887. laya.ani.bone.Templet [ 82%]

...,计算开销大,支持换装,不建议使用) Templet  destroy():void 释放纹理 Templet getAniDuration(aniIndex:int):intAnimationTemplet getAnimation(aniIndex:int):*AnimationTemplet getAnimationCount():intAnimationTemplet getAnimationDataWithCache(key:*, cacheDatas:*, aniIndex:int, f...

来源: laya_api 发布时间: 20170929

888. laya.display.Animation [ 82%]

...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addLabel(label:String, index:int):void 增加一个帧标签到指定索引的帧上。当动画播放到此索引的帧时会派发Event.LABEL事件,派发事件是在完成当前帧画面...

来源: laya_api 发布时间: 20170929

889. laya.media.Sound [ 82%]

...ublic Methods Show Inherited Public Methods MethodDefined By  dispose():void 释放声音资源。 Sound event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。...

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

890. laya.d3.graphics.VertexDeclaration [ 82%]

...int, vertexElements:Array)VertexDeclaration  _addShaderDefine(value:int):void 增加Shader宏定义。 VertexDeclaration  getVertexElementByUsage(usage:int):VertexElementVertexDeclaration  getVertexElements():ArrayVertexDeclaration  getVertexStride(vertexElements:Array):int[static] VertexDec...

来源: laya_api 发布时间: 20170929