大约有 442 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0038 秒)
Laya_社区(241) Laya2.0_示例(107) Laya_示例(60) Laya2.0_文档(25) Laya3.0_文档(5) Laya3.0_api(2) laya_api(1) Laya2.0_api(1)
...ePath = "res/apes/monkey2.png"; class Filters_Blur { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIG...
来源: Laya2.0_示例 发布时间: 20241118
...a.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 mLastMouseX = 0; var mLastMouseY = 0; var mX = 0; var mY = 0; (function() { // 不支持WebGL时自动切换...
来源: Laya_示例 发布时间: 20241118
... mLastMouseY = 0, mX, mY; class TiledMap_ScrollMap { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Event = Laya.Event, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_...
来源: Laya2.0_示例 发布时间: 20241118
...res/particles/GravityMode.part"; class Particle_T1 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Loader = Laya.Loader, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIG...
来源: Laya2.0_示例 发布时间: 20241118
..."res/particles/RadiusMode.part"; class Particle_T2 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Loader = Laya.Loader, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIG...
来源: Laya2.0_示例 发布时间: 20241118
...res/particles/particleNew.part"; class Particle_T3 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Loader = Laya.Loader, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIG...
来源: Laya2.0_示例 发布时间: 20241118
...yaAirIDE让项目开发更高效。class DOM_Video { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stag...
来源: Laya2.0_示例 发布时间: 20241118
...ite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_...
来源: Laya2.0_文档 发布时间: 20210715
... Sprite = Laya.Sprite; var Stage = Laya.Stage; var WebGL = Laya.WebGL; var Browser = Laya.Browser; var Stat = Laya.Stat; var Render = Laya.Render; var stageWidth = 800; var stageHeight = 600; var Matter = Browser.window.Matter; var LayaRender = Browser.window.LayaRender; var mouseConstraint; var eng...
来源: Laya_示例 发布时间: 20241118
...a.Stage; var GlowFilter = Laya.GlowFilter; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var apePath = "../../res/apes/monkey2.png"; var ape; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.c...
来源: Laya_示例 发布时间: 20241118