大约有 2,738 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0084 秒)
Laya_社区(1923) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...AllCaller on once send Constructors constructor new Socket(host?: string | null, port?: number, byteClass?: {}, protocols?: any[] | null, isSecure?: boolean): Socket Defined in laya/net/Socket.ts:106 创建新的 Socket 对象。默认字节序为 Socket.BIG_ENDIAN 。若未指定参数,将创建...
来源: Laya3.0_api 发布时间: 20231115
...设置表示当前滑块位置的数字。 Slider viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...
来源: laya_api 发布时间: 20170929
...个新的 UVAnimations 实例。 UVAnimations event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指...
来源: laya_api 发布时间: 20170603
...thods Show Inherited Public Methods MethodDefined By Clip(url:String = null, clipX:int = 1, clipY:int = 1) 创建一个新的 Clip 示例。 Clip addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(...
来源: Laya2.0_api 发布时间: 20190513
...面更新之后。 AnimationBase callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clear():AnimationBase[override] 停止动画播放,并清理对象属性。之后可存入对象...
来源: Laya2.0_api 发布时间: 20190513
...addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node...
来源: Laya2.0_api 发布时间: 20190513
... Handler.create(this, onAssetLoaded), Handler.create(this, onLoading, null, false)); ``` 或者是: ``` Laya.loader.load(urls, Handler.create(this, onAssetLoaded), new Handler(this, onLoading)); ``` **Tips**:这里不能混淆的是,`Handler()`是没有使用对象池的方式,`Han...
来源: Laya2.0_文档 发布时间: 20210715
...代替默认的弹出效果,如果不想有任何效果,可以赋值为nullDialogManager customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false[只读]是否已经销...
来源: Laya2.0_api 发布时间: 20190513
...Transform3D):void[override] PixelLineRenderer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指...
来源: Laya2.0_api 发布时间: 20190513
...w Intent(Intent. ACTION_VIEW); File file = new File(filePath); if (file != null && file.length() > 0 && file.exists() && file.isFile()) { i.setDataAndType(Uri.parse("file://" + filePath), "application/vnd.android.package-archive" ); i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK...
来源: Laya_社区 发布时间: 20160104