大约有 1,066 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0050 秒)
Laya_社区(693) Laya2.0_文档(118) Laya2.0_示例(116) Laya_示例(103) Laya3.0_api(27) laya_api(3) Laya2.0_api(3) Laya3.0_文档(3)
...a.ColorPicker; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var skin = "../../res/ui/colorPicker.png"; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya....
来源: Laya_示例 发布时间: 20241123
...ea.png"; class UI_TextArea { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_C...
来源: Laya2.0_示例 发布时间: 20241123
...高效。class Text_Scroll { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stag...
来源: Laya2.0_示例 发布时间: 20241123
...png"; class UI_ColorPicker { 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.stage.alignH = Stage.ALIGN_C...
来源: Laya2.0_示例 发布时间: 20241123
...高效。class Text_HTML { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage....
来源: Laya2.0_示例 发布时间: 20241123
... Stage = Laya.Stage; var Text = Laya.Text; var Browser = Laya.Browser; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.sta...
来源: Laya_示例 发布时间: 20241123
...ya.BlurFilter; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var apePath = "../../res/apes/monkey2.png"; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya...
来源: Laya_示例 发布时间: 20241123
...e; var Stage = Laya.Stage; var Text = Laya.Text; var Stat = Laya.Stat; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.st...
来源: Laya_示例 发布时间: 20241123
...tage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var ape; var scaleDelta = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH =...
来源: Laya_示例 发布时间: 20241123
...rties ALPHA ALPHA: number = 1 Inherited from Value2D.ALPHA Defined in laya/webgl/shader/d2/value/Value2D.ts:46 alpha alpha: number = 1 Inherited from Value2D.alpha Defined in laya/webgl/shader/d2/value/Value2D.ts:41 clipMatDir clipMatDir: any[] = [Const.MAX_CLIP_SIZE, 0, 0, Const.MAX_CLIP_SIZE] Inhe...
来源: Laya3.0_api 发布时间: 20231115