大约有 443 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: Laya2.0_api 发布时间: 20190513
...锁,如果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
...锁,如果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
...andler.runWith(this.hr.data); } } private function onHrErrorHandler($error:String):void { if(this.errorHandler) { this.errorHandler.runWith($error); } } 其中就是这个$error,在网页和原生返回的明显不一样,如果现在原生就是有这个问题的话,那我们只能想别的方...
来源: Laya_社区 发布时间: 20180528
...数 byte1.writeInt16(16);//写入一个两个字节的整数 byte1.writeUTFString("hell world");//写入一个字符串; byte.writeArrayBuffer(byte1.buffer,6);//把byte1的数据从第六个字节开始读入byte中。省略其中的浮点数20.0和整数16 byte.pos = 0;// trace(byte.readUTFString...
来源: Laya2.0_文档 发布时间: 20210715
...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited f...
来源: Laya3.0_api 发布时间: 20231102
...stage的宽高等于设计宽高。*/ public static const SCALE_NOSCALE:String = "noscale"; /**应用保持设计比例不变,全屏显示全部内容(类似showall,但showall非全屏,会有黑边),根据屏幕长宽比,自动选择使用SCALE_FIXED_WIDTH或SCALE_FIXED_HEIGHT*/ public s...
来源: Laya_社区 发布时间: 20180503
...; var canvas:* = htmlC.getCanvas();//获取原生的canvas对象 var base64String:String = canvas.toDataURL("image/png"); var _webframe:*; _webframe = Browser.document.createElement("img"); _webframe.setAttribute('src', base64String); //_webframe.setAttribute('frameborder', 0); _webframe.setAttribut...
来源: Laya_社区 发布时间: 20180103
...HTMLDivElement组件 希望给spine增加一个showSlotSkinByName(slotName:String, name:String)方法 建议官方增加一些常用原生的功能 背景音乐播放BUG,销毁异常导致的播放异常,里面有修改方案 问题状态 最新活动: 2016-12-15 14:12 浏览: 1448 关注: 1 人
来源: Laya_社区 发布时间: 20161212
...为在ResourceManager的 public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; }方法中会对manifest进行匹配...
来源: Laya_社区 发布时间: 20180415