大约有 696 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
Laya_社区(378) Laya_示例(132) Laya2.0_示例(116) Laya2.0_文档(65) Laya3.0_api(2) laya_api(1) Laya2.0_api(1) Laya3.0_文档(1)
...ayaDiv.append(Laya.init(layaDiv.width(), layaDiv.height())); // Laya.stage.scaleMode = Laya.Stage.NO_SCALE; Laya.stage.scaleMode = Laya.Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; var img = new Laya.Sprite(); img.loadImage('images/item_5.png'); Laya.stage.addChild(img); img.on(Laya.Event.MO...
来源: Laya_社区 发布时间: 20170427
...get; var isRotate = true; (function() { Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; scene = Laya.stage.addChild(new Laya.Scene()); scene.shadingMode = Laya.BaseScene.VERTEX_SHADING; Laya.stage.addChild(new MousePickingScene())...
来源: Laya_社区 发布时间: 20170323
... Stage.ALIGN_MIDDLE; // Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; // 本地运行,需要在index.html中引用百度地图API文件 this.createDom(); this.initMap(); this.createInfoText(); let successHandler = new Handler(th...
来源: Laya2.0_示例 发布时间: 20251130
... 问题总结(附近): 1.去掉了这句话, Laya.stage.scaleMode = Stage.SCALE_SHOWALL; ie、苹果的缝隙问题可以解决! 2. 在火狐下 给图片透明度0.5 即可看到暗线 附件 : --> 九宫格问题测试问题件(ie、苹果、火狐).rar 2018-01...
来源: Laya_社区 发布时间: 20180126
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.createInteractiveTarget(); this.createLogger(); } createInteractiveTarget() { const Event = Laya.Event, Sprite = Lay...
来源: Laya2.0_示例 发布时间: 20251130
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createTexts(); } private createTexts(): void { var t1: Text = this.createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); var t2: Text = this.createText...
来源: Laya2.0_文档 发布时间: 20210715
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); // create a background texture Laya.stage.loadImage("res/pixi/laserBG.jpg"); Laya.stage.frameLoop(1, this, this.animate); } animate() { const Sprit...
来源: Laya2.0_示例 发布时间: 20251130
...eight, WebGL); Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Stage.SCALE_NOBORDER; // create a background texture Laya.stage.loadImage("../../res/pixi/laserBG.jpg"); Laya.stage.frameLoop(1, this, animate); })(); function animate() { if (tick > frequency) { tick = 0; // iter...
来源: Laya_示例 发布时间: 20251130
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(Browser.clientWidth - 120 >> 1, Browser.clientHeight - 100 >> 1); } } new Debug_FPSStats();module laya { import Browser = Laya.Browser; import Stat = ...
来源: Laya2.0_示例 发布时间: 20251130
webgl模式下tiledmap出现黑线 在webgl模式下 设置Laya.stage.scaleMode = 'showall'; tiledmap会出现黑线 设置Laya.stage.scaleMode = 'noscale'; 则没有黑线 在canvas模式下不会出现黑线 附件 : --> 2016-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20160521