大约有 1,025 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
...dler 对话框被关闭时会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 Dialog closeType : String关闭类型,点击name为"close","cancel","sure","no","yes","no"的按钮时,会自动记录点击按钮的名称Dialog customRend...
来源: Laya2.0_api 发布时间: 20190513
...,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onc...
来源: Laya2.0_api 发布时间: 20190513
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...
来源: Laya3.0_api 发布时间: 20231115
...e initData(map:TiledMap, objectKey:Boolean = false):void 传入必要的参数,用于裁剪,跟确认此对象类型 GridSprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并...
来源: Laya2.0_api 发布时间: 20190513
...Bar 实例的 value 属性发生变化时的函数处理器。 默认返回参数value 属性(进度值)。 ProgressBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函...
来源: laya_api 发布时间: 20170929
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...
来源: Laya3.0_api 发布时间: 20231115
... Component.onReset Defined in laya/components/Component.ts:270 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited...
来源: Laya3.0_api 发布时间: 20231115
... Component.onReset Defined in laya/components/Component.ts:270 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited...
来源: Laya3.0_api 发布时间: 20231115
...现再持续记录) 1. Scene.open 我们使用这个打开常见会传递参数, beta4中, 没有将params传递到onOpened响应函数中 下面是临时补救的shim if (Laya.LayaEnv.version == "3.3.0-beta.4") { Scene.open = function (url: string, closeOther?: boolean, param?: any, complete?: an...
来源: Laya_社区 发布时间: 20250609
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void canPlayType canPlayType(type: string): CanPlayTypeResult Defined in laya/media/VideoNode.ts:132 检测是否支持播放指定格式视频。 Parameters type: string "mp4","ogg","webm","m3u8"等...
来源: Laya3.0_api 发布时间: 20231115