• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 969 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0081 秒)

481. laya.map.MapLayer_API3.0 [ 71%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

来源: Laya3.0_api 发布时间: 20231115

482. 小游戏iphoneX适配问题 [ 71%]

...来自: Laya.init(750, 1624, Laya.WebGL); //适配模式 宽度100% Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE;你用上面这个方式 把高度写大一点 就没有触摸点击不对的问题了 因...

来源: Laya_社区 发布时间: 20180718

483. laya.ui.DialogManager_API3.0 [ 71%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

来源: Laya3.0_api 发布时间: 20231115

484. 网络和格式-XML [ 71%]

...rk_XML { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_...

来源: Laya2.0_示例 发布时间: 20251209

485. laya.ui.ProgressBar_API3.0 [ 71%]

...ressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComple...

来源: Laya3.0_api 发布时间: 20231115

486. laya.ani.swf.MovieClip_API3.0 [ 71%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scroll...

来源: Laya3.0_api 发布时间: 20231115

487. Spine适配版(JavaScript-LayaAir基础篇(JS)-动画基础) [ 71%]

... -1; constructor() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private startFun(): void { //创建动画模板 this.templet = new SpineTempletBinary(); this.templet.loadAni(this.aniPath...

来源: Laya2.0_文档 发布时间: 20210715

488. laya.ui.Clip [ 71%]

...设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像...

来源: Laya2.0_api 发布时间: 20190513

489. 缓动-简单的Tween [ 71%]

...Sample { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_...

来源: Laya2.0_示例 发布时间: 20251209

490. HTMLDivElement img 标签问题 [ 71%]

...mg src='head3.png' style='width:100px;height:100px'></img>"; Laya.stage.addChild(html);用style下的width和height就好了! 2017-03-29 0 0 分享 微博 QZONE 微信 liukaijv 赞同来自: 我也遇到了同样的问题,改成style模式,在web下行了,但在ios原生又有问题...

来源: Laya_社区 发布时间: 20170329