大约有 64 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)
...的纹理格式。 (图2-5) 在发布目录下可以找到一个”fileconfig.json“文件,这个文件中记录了一些对图片属性设置信息,其中包括使用纹理压缩信息,打开.json文件如下: { "files": { "resources": [ "layabox.png" ] }, "config": [ { "sRGB": true, "...
来源: Laya3.0_文档 发布时间: 20251010
...09 22:04:33.129 12728-12832/? I/LayaBox: require(/sdcard/layabox/scripts/config.js) found the file in the package:scripts/config.js 12-09 22:04:33.132 12728-12832/? I/LayaBox: JSRuntime::callMethod {} 12-09 22:04:33.132 12728-12832/? I/LayaBox: JSRuntime::callMethod {} 12-09 22:04:33.136 127...
来源: Laya_社区 发布时间: 20181209
...code的是vscode.rar 关键的几个文件都是相同的。index.html、tsconfig.json、以及两个类。为了测试方便,把Laya.init这句注释掉。 (另外我把laya的项目文件夹用vscode打开来编译运行,也可以正常,LayaAir IDE却不行。其差别最主要应该是在...
来源: Laya_社区 发布时间: 20171116
...map bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight(), Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(bitmap); view.draw(canvas); 但并不能截到Window下的layaView(出laya外的其他部分可以截到,另外注意我写了个Android项目自测,放上Android的原生组...
来源: Laya_社区 发布时间: 20180925
...he/localstorage/logo/logo.png I/LayaBox: require(/sdcard/layabox/scripts/config.js) I/LayaBox: found the file in the package:scripts/config.js I/LayaBox: xhr.GET url=http://stand.alone.version/index.html I/LayaBox: found the file in the package:cache/stand.alone.version/ea224b42 I/LayaBox: >...
来源: Laya_社区 发布时间: 20171218
....createSettings("MyTestSettings", { location: "project", contributeToPlayerConfig: true}); 运行时可以这样访问: console.log(Laya.PlayerConfig["MyTestSettings"]); 十二、扩展编辑器配置界面 如果我们通过上一节创建了一些自定义的配置数据,可以将它展现在...
来源: Laya3.0_文档 发布时间: 20251010
... : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会...
来源: laya_api 发布时间: 20170929
...名称,以字符串形式表示。 默认值为:"Arial",可以通过Config.defaultFont设置默认字体。 如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的...
来源: Laya3.0_api 发布时间: 20231115
....ts:84 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会...
来源: Laya3.0_api 发布时间: 20231115
... : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会...
来源: Laya2.0_api 发布时间: 20190513