大约有 181 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0039 秒)
Laya_社区(70) Laya2.0_示例(48) Laya_示例(29) laya_api(12) Laya2.0_api(8) Laya2.0_文档(6) Laya3.0_api(5) Laya3.0_文档(3)
... Laya.stage.bgColor='#EEFFCC';//设置舞台背景色 Laya.stage.alignH='center';//水平居中对齐 Laya.stage.alignV='middle';//垂直居中对齐 Laya.stage.scaleMode='showall';//缩放模式 Laya.stage.screenMode='horizontal';//竖屏显示 templete=new Templet();//实例化动画模板 templet...
来源: Laya_社区 发布时间: 20170324
...-0.68723 ], "max":[ 0.6775162, 0.1249337, 0.06879723 ] }, "boundSphere":{ "center":[ 0.1737041, -0.217023, -0.3092164 ], "radius":0.7166975 }, "bones":[ 56, 57, 58, 52, 53, 54 ], "materials":[ { "type":"Laya.BlinnPhongMaterial", "path":"Assets/MainGame/Scripts/lmh/Shader/shoubiMat.lmat" } ], "meshPa...
来源: Laya_社区 发布时间: 20191015
...lignV = 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(); } Construct() { let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); l...
来源: Laya2.0_示例 发布时间: 20241124
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添...
来源: Laya2.0_示例 发布时间: 20241124
... 框架的配置如下: Laya.stage.alignV = "middle"; Laya.stage.alignH = "center"; Laya.stage.scaleMode = "noborder"; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; 应用场景是微信, 在iphone未锁屏的情况下, 1次或者多次横竖切换操作会导致 横屏时手机渲染器只有一...
来源: Laya_社区 发布时间: 20171221
... = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; sp = new Sprite(); sp.loadImage('./../img/psh_freq....
来源: Laya_社区 发布时间: 20161128
...0); this.label.width = 300; this.label.align = "center"; // this.label.stroke = 1; this.label.strokeColor = "#000000"; this.label.zOrder=9980 Laya.stage.addChild(this.label); this.label.visible = false...
来源: Laya_社区 发布时间: 20190514
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Laya.Event.CLICK, this, this.onStageClick); } createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya....
来源: Laya2.0_示例 发布时间: 20241124
...scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; var sp; for(var i=0;i<5;i++){ sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,50,50,"red"); sp.y = i*60; sp.index=i; sp.size(50,50); sp.on(Laya.Event.CLICK,this, function...
来源: Laya_社区 发布时间: 20170221
...stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.bgColor = '#0000ff'; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; var tiledMap; var viewRect; var mLastMouseX = 0; var mLastMouseY = 0; var mX = 0; ...
来源: Laya_社区 发布时间: 20180614