大约有 495 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0043 秒)
...ssFormat hasListener isCreateFromURL off offAll offAllCaller on once setDDSData setImageData setKTXData setPixelsData updateSubPixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: boolean): TextureCube Overrides Base...
来源: Laya3.0_api 发布时间: 20231102
... 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frame...
来源: laya_api 发布时间: 20170929
...ssFormat hasListener isCreateFromURL off offAll offAllCaller on once setDDSData setImageData setKTXData setPixelsData updateSubPixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: boolean, premultiplyAlpha?: boolean)...
来源: Laya3.0_api 发布时间: 20231115
...Format hasListener isCreateFromURL off offAll offAllCaller on once setImageData setPixlesData setSubPixelsData destroyUnusedResources Constructors constructor new Texture2DArray(width: number, height: number, depth: number, format: TextureFormat, mipmap?: boolean, canRead: boolean, sRGB?: boolean): ...
来源: Laya3.0_api 发布时间: 20231115
... 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frame...
来源: laya_api 发布时间: 20170929
...例。 Returns Component 组件。 bubbleEvent bubbleEvent(type: string, data?: any): void Inherited from Node.bubbleEvent Defined in laya/display/Node.ts:145 Parameters type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLat...
来源: Laya3.0_api 发布时间: 20231115
...vector2:Vector2):void 设置二维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean ...
来源: laya_api 发布时间: 20170929
...Material _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void ...
来源: Laya2.0_api 发布时间: 20190513
...Material _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void ...
来源: Laya2.0_api 发布时间: 20190513
...些封装。 比如我们用load()方法加载一个json数据,需要在data里才能取到json文件里的数据。 使用load()方法,示例如下: onEnable(): void { const jsonPath: string = "json/bagList.json"; Laya.loader.load(jsonPath).then((json) => { let _json = json.data; if (_json...
来源: Laya3.0_文档 发布时间: 20251010