大约有 708 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(372) Laya3.0_api(110) Laya2.0_api(105) laya_api(67) Laya2.0_文档(26) Laya2.0_示例(10) Laya3.0_文档(9) Laya_示例(9)
...mage(url: string, x?: number, y?: number, width?: number, height?: number, complete?: Function | null): void Inherited from Graphics.loadImage Defined in laya/display/Graphics.ts:443 加载并显示一个图片。 Parameters url: string 图片地址。 Default value x: number = 0 (可选)显示...
来源: Laya3.0_api 发布时间: 20231115
...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加载并显示一个图片。 Graphics restore():RestoreCmd 返回之前保存过的路径状态和属性。 Graphics rotate(angle:Number, pivotX:Number = 0, pivotY:Number = 0):RotateCmd 旋...
来源: Laya2.0_api 发布时间: 20190513
...erial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodD...
来源: Laya2.0_api 发布时间: 20190513
...会忽略lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/d3/resource/models/Mesh.ts:82 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回调。 Returns void Globals "laya/d3/resource/models/Mesh" Mesh con...
来源: Laya3.0_api 发布时间: 20231115
...离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; //当前地板上面的物品集合 this.itemList = ; Floor.__super.call(this); } //事件名称 //超过屏幕一定值出发新的floor事...
来源: Laya_社区 发布时间: 20160803
...口调用结束的回调函数(调用成功、失败都会执行) */ complete: () => void; } declare namespace wx { /** * 设置屏幕亮度。 */ export function setScreenBrightness(object: _setScreenBrightnessObject): void; } ``` `type` 与 `interface` 的使用方式类似,区别与非声...
来源: Laya2.0_文档 发布时间: 20210715
...y> load(url: string | ILoadURL | (string | Readonly<ILoadURL>)[], complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean, useWorkerLoader?: boolean): Promise<any> Defined in laya/net/Loader.ts:204 加载资源...
来源: Laya3.0_api 发布时间: 20231115
...会忽略lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/resource/Texture2D.ts:240 加载纹理 Parameters url: string 路径 complete: Handler 处理时间 Returns void Globals "laya/resource/Texture2D" Texture2D constructor _id destroyedImm...
来源: Laya3.0_api 发布时间: 20231115
...mage(url: string, x?: number, y?: number, width?: number, height?: number, complete?: Function | null): void Inherited from Graphics.loadImage Defined in laya/display/Graphics.ts:443 加载并显示一个图片。 Parameters url: string 图片地址。 Default value x: number = 0 (可选)显示...
来源: Laya3.0_api 发布时间: 20231115
...e([{url:this._sceneURl, clas:MyScene}], Laya.Handler.create(this, this.loadComplete)); } private loadComplete():void { console.log("debuginfo LayaAir3D constructer loadres complete"); this._scene = MyScene.load(this._sceneURl) as MyScene; this._scene.output(); Laya.stage.addChild(this._sce...
来源: Laya_社区 发布时间: 20180317