• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,173 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)

2001. laya.ui.Clip [ 28%]

...ght , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties P...

来源: laya_api 发布时间: 20170929

2002. 显存优化:纹理压缩的使用(TypeScript-2D进阶篇(TS)-性能优化) [ 28%]

...tlas/comp.atlas"], Laya.Handler.create(this, () => { this.aaa.skin = "comp/image.png"; })); ``` 通过示例代码,我们可以看到,图集的纹理压缩的代码使用是无感的,和普通的图集使用方式完全相同。 ## 本文赞赏 如果您觉得本文对您有帮助,欢迎扫...

来源: Laya2.0_文档 发布时间: 20210714

2003. laya.resource.HTMLCanvas_API3.0 [ 27%]

.../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

2004. laya.ui.Clip [ 27%]

...ght , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties P...

来源: Laya2.0_api 发布时间: 20190513

2005. app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 [ 27%]

...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

2006. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 26%]

...器下面是好的,在谷歌下报错运行不了   报的是这个错 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

2007. 预制体模块 · LayaAir3文档 · LAYABOX [ 26%]

...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

2008. 预制体 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

...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

2009. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 25%]

...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

2010. laya.ui.Clip_API3.0 [ 24%]

...ght , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Clip 实例。 package { import laya.ui.C...

来源: Laya3.0_api 发布时间: 20231115