大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0011 秒)
...发更高效。let modes = ["noscale", "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheight"], index = 0, txt; class SmartScale_T { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Image = Laya.Image, Tex...
来源: Laya2.0_示例 发布时间: 20241118
...h, Browser.height, WebGL); Stat.show(); Laya.stage.scaleMode = Stage.SCALE_FULL; setup(); })(); function setup() { Laya.stage.on(Event.RESIZE, this, onResize); makeObject(0); for (var i = 0; i objs) { current = 0; } makeObject(current); } function makeObject(t) { var xd; var i; switch (t) { case 0: ...
来源: Laya2.0_示例 发布时间: 20241118
...entWidth, Browser.clientHeight, WebGL); Laya.stage.scaleMode = Stage.SCALE_FULL; Stat.show(); this.createMap(); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown);//注册鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); } //创建地图 private createMap() { //创建地...
来源: Laya2.0_示例 发布时间: 20241118