大约有 555 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0045 秒)
Laya_社区(156) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(22) Laya3.0_文档(17) Laya2.0_示例(3) Laya_示例(3)
...from Resource._id Defined in laya/resource/Resource.ts:97 clipsID clipsID: string[] Defined in laya/d3/component/Animator/AnimatorController.ts:13 data data: TypeAnimatorControllerData Defined in laya/d3/component/Animator/AnimatorController.ts:12 destroyedImmediately destroyedImmediately: boolean I...
来源: Laya3.0_api 发布时间: 20231115
...hods Static _arrayBufferToURL _arrayBufferToURL(arrayBuffer: ArrayBuffer): string Defined in laya/utils/ImgUtils.ts:80 Parameters arrayBuffer: ArrayBuffer Returns string Static arrayBufferToURL arrayBufferToURL(url: string, arrayBuffer: ArrayBuffer): any Defined in laya/utils/ImgUtils.ts:64 通过...
来源: Laya3.0_api 发布时间: 20231115
...象所封装的原生 XMLHttpRequest 引用。 Returns any url get url(): string Defined in laya/net/HttpRequest.ts:187 请求的地址。 Returns string Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事...
来源: Laya3.0_api 发布时间: 20231115
...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited...
来源: Laya3.0_api 发布时间: 20231115
...ar file:File = File.applicationDirectory; var picPath:String = file.resolvePath("img.png").nativePath;//获取图片路径 //读取图片文件到字节数组 var readFile:File = new File(picPath); var readByte:ByteA...
来源: Laya_社区 发布时间: 20170417
...ces/res/apes/monkey2.png"); } /**加载并显示图片 */ loadTexture(url: string, x: number = 0, y: number = 0): void { Laya.loader.load(url).then((res: Laya.Texture) => { let img = new Laya.Image(); img.texture = res; // img.skin = url; //ui组件直接设置skin也可以 img.pos(x, y); this.ow...
来源: Laya3.0_文档 发布时间: 20241014
...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited...
来源: Laya3.0_api 发布时间: 20231115
...里区别为export default class bitmap extends Laya.Image { private szurl:string="" constructor(url:string){ super() this.onUrlChangeHandler(url); } protected onUrlChangeHandler(url:string):void { if(this.szurl!="") this.disp() this.szurl=url; if(url==null){ this.graphics.clear(); }else{ th...
来源: Laya_社区 发布时间: 20181201
...112 是否在引用计数为0的时候立马删除他 dict dict: Record<string, BMGlyph> Defined in laya/display/BitmapFont.ts:15 fontSize fontSize: number = 12 Defined in laya/display/BitmapFont.ts:20 当前位图字体字号,使用时,如果字号和设置不同,并且autoScaleSize=tru...
来源: Laya3.0_api 发布时间: 20231115
...nterface.available) { var params:String = ExternalInterface.call("getParams"); if (params.indexOf("?")!=-1) { var ary:Array = params.split("?"); va...
来源: Laya_社区 发布时间: 20200217