大约有 728 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0058 秒)
Laya_社区(361) Laya_示例(77) Laya2.0_示例(64) Laya3.0_api(63) Laya2.0_api(58) laya_api(53) Laya2.0_文档(37) Laya3.0_文档(15)
...enShot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; this.nameArr = ["canvas截图","sprite截图","清理"]; this._canvas = null; this.aimSp = nu...
来源: Laya2.0_示例 发布时间: 20241117
...rIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Rectangle = Laya.Rectangle; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = "../../res/apes/monkey2.png...
来源: Laya_示例 发布时间: 20241117
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var tiledMap; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, Web...
来源: Laya_示例 发布时间: 20241117
...n_Drag { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = ...
来源: Laya2.0_示例 发布时间: 20241117
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var WebGL = Laya.WebGL; var tiledMap; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800, WebGL); Laya.stage.alignV = St...
来源: Laya_示例 发布时间: 20241117
...veWall { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage....
来源: Laya2.0_示例 发布时间: 20241117
...rIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var MapLayer = Laya.MapLayer; var TiledMap = Laya.TiledMap; var Point = Laya.Point; var Rectangle = Laya.Rectangle; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var tiledMap; var layer; var sprite; ...
来源: Laya_示例 发布时间: 20241117
...onTile { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage...
来源: Laya2.0_示例 发布时间: 20241117
...cWorld { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1600, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage...
来源: Laya2.0_示例 发布时间: 20241117
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Event = Laya.Event; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var tiledMap; var m...
来源: Laya_示例 发布时间: 20241117