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

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

721. laya.ui.Button [ 86%]

...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = nu...

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

722. laya.ui.Button [ 86%]

...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, me...

来源: laya_api 发布时间: 20170929

723. 加载-错误处理和进度 [ 86%]

...ent.ERROR, this, this.onError); } private onAssetLoaded(texture: Texture): void { // 使用texture console.log("加载结束"); } // 加载进度侦听器 private onLoading(progress: number): void { console.log("加载进度: " + progress); } private onError(err: String): void { console.log("加载...

来源: Laya2.0_示例 发布时间: 20260303

724. laya.ani.bone.Templet [ 86%]

...示 TempletPublic Methods  MethodDefined By  _setCreateURL(url:String):void[override] Templet  buildArmature(aniMode:int = 0):Skeleton 创建动画 0,使用模板缓冲的数据,模板缓冲的数据,不允许修改 (内存开销小,计算开销小,不支持换装) 1,使用动画自...

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

725. 鼠标交互-双指缩放(多点触控) [ 86%]

...showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.createSprite(); Laya.stage.on(Event.MOUSE_UP, this, this.onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, this.onMouseUp); } private createSprite(): void { this.sp = new Sprite(); var w: number = 300, h: number = ...

来源: Laya2.0_示例 发布时间: 20260303

726. laya.utils.Mouse [ 86%]

...标样式 MousePublic Methods  MethodDefined By  Mouse()Mouse  hide():void[static] 隐藏鼠标 Mouse  show():void[static] 显示鼠标 MouseProperty Detailcursorpropertycursor:String 设置鼠标样式 Implementation     public static function get cursor():String    public static fun...

来源: laya_api 发布时间: 20170929

727. laya.utils.PoolCache [ 86%]

... MethodDefined By  addPoolCacheManager(sign:String, maxCount:int = 100):void[static] 添加对象缓存管理 PoolCache  getCacheList():Array 获取缓存的对象列表 PoolCache  tryDispose(force:Boolean):void 尝试清理缓存 PoolCacheProperty DetailmaxCountpropertypublic var maxCount:in...

来源: laya_api 发布时间: 20170422

728. laya.utils.Mouse [ 86%]

...tatic] 设置鼠标样式 MousePublic Methods  MethodDefined By  hide():void[static] 隐藏鼠标 Mouse  show():void[static] 显示鼠标 MouseProperty Detailcursorpropertycursor:String 设置鼠标样式 Implementation     public static function get cursor():String    public static fun...

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

729. laya.d3.resource.models.SubMesh [ 86%]

...erride] 获取几何体类型。 SubMesh  _render(state:RenderContext3D):void[override] SubMesh  destroy():void[override] 销毁。 SubMeshConstructor DetailSubMesh()Constructorpublic function SubMesh(mesh:Mesh) 创建一个 SubMesh 实例。 Parameters mesh:Mesh — 网格数据模板。 Method...

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

730. 输入设备-地图 [ 86%]

...tToBaiduCoord = this.convertToBaiduCoord.bind(this); } private createDom():void { this.mapDiv = Browser.createElement("div"); var style = this.mapDiv.style; style.position = "absolute"; style.top = Laya.stage.height / Browser.pixelRatio + "px"; style.left = "0px"; style.width = Browser.width / Brows...

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