大约有 5 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0035 秒)
...l, customHandler:Handler = null, instanceHandler:Handler = null):*[static] 根据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Tex...
来源: Laya2.0_api 发布时间: 20190513
...:*):void 缓存资源。 LoaderManager cancelLoadByUrl(url:String):void 根据地址清理掉未加载的内容 LoaderManager cancelLoadByUrls(urls:Array):void 根据地址集合清理掉未加载的内容 LoaderManager clearRes(url:String):void 清理指定资源地址缓存。 LoaderManag...
来源: Laya2.0_api 发布时间: 20190513
...源地址的缓存。 Loader clearResByGroup(group:String):void[static] 根据分组清理资源。 Loader clearTextureRes(url:String):void[static] 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动...
来源: Laya2.0_api 发布时间: 20190513
...默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合...
来源: Laya2.0_api 发布时间: 20190513
...默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合...
来源: Laya2.0_api 发布时间: 20190513