大约有 610 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0041 秒)
Laya_社区(307) Laya2.0_示例(113) Laya_示例(84) Laya2.0_文档(57) Laya3.0_api(17) Laya2.0_api(13) Laya3.0_文档(10) laya_api(9)
...as Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event...
来源: Laya2.0_示例 发布时间: 20241118
... //设置舞台对齐模式 Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; //Laya.stage.frameRate = Laya.Stage.FRAME_MOUSE; Laya.stage.frameRate = Laya.Stage.FRAME_SLO...
来源: Laya_社区 发布时间: 20181213
...ceiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors alignment awaked bounds boundsChange castShadow colorGradient destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset material materials minVertexDistance ratioIgnor receiveShadow reflectionMode rende...
来源: Laya3.0_api 发布时间: 20231115
...Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loade...
来源: Laya2.0_文档 发布时间: 20210715
...Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loade...
来源: Laya2.0_文档 发布时间: 20210714
... //设置舞台对齐模式 Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; //Laya.stage.frameRate = Laya.Stage.FRAME_MOUSE; Laya.stage.frameRate = Laya.Stage.FRAME_SLO...
来源: Laya_社区 发布时间: 20181202
...会有问题 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.alignV = Laya.Stage.ALIGN_TOP; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loadComp)); } private loadComp():void{ var parent:u...
来源: Laya_社区 发布时间: 20170829
...持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { var list = new List(); list.itemRe...
来源: Laya_社区 发布时间: 20180724
...(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.Construct(); this.eventListener(); } Const...
来源: Laya2.0_示例 发布时间: 20241118
...p.png"]; Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loa...
来源: Laya2.0_文档 发布时间: 20210714