大约有 2,173 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
Laya_社区(1729) Laya3.0_api(198) Laya2.0_文档(65) Laya2.0_api(61) laya_api(55) Laya3.0_文档(44) Laya2.0_示例(11) Laya_示例(10)
...ght , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties P...
来源: laya_api 发布时间: 20170929
...tlas/comp.atlas"], Laya.Handler.create(this, () => { this.aaa.skin = "comp/image.png"; })); ``` 通过示例代码,我们可以看到,图集的纹理压缩的代码使用是无感的,和普通的图集使用方式完全相同。 ## 本文赞赏 如果您觉得本文对您有帮助,欢迎扫...
来源: Laya2.0_文档 发布时间: 20210714
.../HTMLCanvas.ts:192 把图片转换为base64信息 Parameters type: string "image/png" encoderOptions: number 质量参数,取值范围为0-1 Returns string | null toBase64Async toBase64Async(type: string, encoderOptions: number, callBack: Function): void Defined in laya/resource/HTMLCanvas.ts:214 ...
来源: Laya3.0_api 发布时间: 20231115
...ght , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties P...
来源: Laya2.0_api 发布时间: 20190513
...50:15.147 ZhuaWawa[2531:1863752] found the file in the package:shaders/drawImagePS.glsl 2018-01-09 20:50:15.147 ZhuaWawa[2531:1863752] found the file in the package:shaders/fillImagePS.glsl 2018-01-09 20:50:15.147 ZhuaWawa[2531:1863752] found the file in the package:shaders/drawFilterImagePS.glsl 20...
来源: Laya_社区 发布时间: 20180109
...器下面是好的,在谷歌下报错运行不了 报的是这个错 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. 2016-08-31 0 2 分享 微博 QZONE 微信 xiaobear250 赞同...
来源: Laya_社区 发布时间: 20160722
...e(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let resArr: Array<any> = [ { url: "resources/prefab/uiDemo/useUI/ChangeTexture.lh", type: Laya.Loader.HIERARCHY }, { url: "reso...
来源: Laya3.0_文档 发布时间: 20241014
...e(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let resArr: Array<any> = [ { url: "resources/prefab/uiDemo/useUI/ChangeTexture.lh", type: Laya.Loader.HIERARCHY }, { url: "reso...
来源: Laya3.0_文档 发布时间: 20251105
...2018-08-30 16:41 @嘿哈:__JS__("wx.getOpenDataContext({filedata:'res/images/rank.json'})") 我这样传过去一样报错呢 嘿哈 • 2018-08-30 16:45 不用手动传,// 主域初始化用 Laya.MiniAdpter.init(true); 子域初始化用Laya.MiniAdpter.init(true, true); 这样初始...
来源: Laya_社区 发布时间: 20180525
...ght , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Clip 实例。 package { import laya.ui.C...
来源: Laya3.0_api 发布时间: 20231115