大约有 549 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0120 秒)
Laya_社区(273) Laya3.0_api(77) Laya2.0_api(67) laya_api(60) Laya2.0_文档(52) Laya3.0_文档(15) Laya_示例(3) Laya2.0_示例(2)
...1:37 @柒汐夜:大佬终于回我了 我还在翻阅资料 /** * 把当前画布指定区域的内容导出生成指定大小的图片,并返回文件路径。 */ export function canvasToTempFilePath( this: string, object: _canvasToTempFilePathObject ): void; 这是wx.d.ts里写的 我看文档...
来源: Laya_社区 发布时间: 20181122
...height', '100%'); // videoElement.playbackRate = 2;//加速播放 // 设置画布上的对齐参照物 reference = new Sprite(); this.addChild(reference); reference.pos(0, 0); reference.size(GoldConsts.contextWidth, GoldConsts.contextHeight); reference.graphics.drawRect(0, 0, reference.width, refere...
来源: Laya_社区 发布时间: 20180313
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: Laya2.0_api 发布时间: 20190513
...比如说按分数制作一个排行榜。开放数据域会显示到一个画布上的,因此开发者可以直接调用canvas上的各种方法进行绘制,但很多时候这样并不方便,因此我们推荐开发者选择一款轻量化的canvas引擎来完成绘制工作。 市面上常...
来源: Laya3.0_文档 发布时间: 20251010
...有一些要注意的,比如不支持DOM与BOM、小游戏只能有一个画布、不支持Eval、不支持XML等等…… 但是, 对于LayaAir引擎的开发者来讲,不用刻意去了解到底有哪些差异,照正常的LayaAir引擎开发规则去开发就可以了。 > 注意:微信...
来源: Laya2.0_文档 发布时间: 20210715
...ee_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folde...
来源: Laya3.0_api 发布时间: 20231115
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: Laya2.0_api 发布时间: 20190513
...类 * author xiaosong * @date 2017-02-26 */ public class MsgMgr { /**共享画布类型**/ public static var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /...
来源: Laya_社区 发布时间: 20180525
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: laya_api 发布时间: 20170929
...playsinline", true); videoElmt.setAttribute("playsinline", true); // 设置画布上的对齐参照物 let reference: Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(reference); reference.pos(0, 0); reference.size(Laya.stage.width, Laya.stage.height); reference.graphics.drawRect(0, 0, reference...
来源: Laya_社区 发布时间: 20180802