大约有 665 项符合查询结果, 库内数据总量为 30,956 项。 (搜索耗时: 0.0051 秒)
Laya_社区(277) Laya3.0_api(93) Laya2.0_api(73) laya_api(62) Laya_示例(54) Laya2.0_示例(54) Laya2.0_文档(33) Laya3.0_文档(19)
...d _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourceWidth url uuid DEBUG Accessors bitmap cpuMemory destroyed gpuMemory height id obsolute referenceCount uv valid width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCr...
来源: Laya3.0_api 发布时间: 20231115
....tMap.changeViewPort(-((Laya.stage.width-this.tMap.width)/2),-((Laya.stage.height-this.tMap.height)/2),this.tMap.width,this.tMap.height); this.addChild(this.tMap.mapSprite()); 请问这是什么意思啊 2020-04-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20200420
... this._map.viewPortWidth || this.y < 0 || this.y > this._map.viewPortHeight) { this.hide(); } else { this.show(); } } else { ...
来源: Laya_社区 发布时间: 20220627
...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { var gap = 10; //创建一个S...
来源: Laya_示例 发布时间: 20250405
...Viewport 类用于创建视口。 Public Properties PropertyDefined By height : Number高度Viewport maxDepth : Number最大深度Viewport minDepth : Number最小深度Viewport width : Number宽度Viewport x : NumberX轴坐标Viewport y : NumberY轴坐标ViewportPublic Methods M...
来源: Laya2.0_api 发布时间: 20190513
...alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); guideContainer.addChild(maskArea); //绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 interactionArea = new Sprite(); //设置叠加模式 interactionArea.blendMode = "dest...
来源: Laya_示例 发布时间: 20250405
...个贴图 Hierarchy DrawTextureCmd Index Properties alpha blendMode color height matrix texture uv width x y ID Methods recover Properties alpha alpha: number Defined in laya/display/cmd/DrawTextureCmd.ts:42 (可选)透明度。 blendMode blendMode: string | null Defined in laya/display/cmd/Draw...
来源: Laya3.0_api 发布时间: 20231115
...alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000"); // 绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 interactionArea = new Sprite(); guideContainer.addChild(interactionArea); // 设置叠加模式 interactionArea.blendMode =...
来源: Laya2.0_示例 发布时间: 20250405
.../display/cmd/DrawPathCmd.ts:9 Methods getBoundPoints getBoundPoints(sp?: { height?: number; width: number }): number[] Defined in laya/display/cmd/DrawPathCmd.ts:63 Parameters Optional sp: { height?: number; width: number } Optional height?: number width: number Returns number[] recover recover(): v...
来源: Laya3.0_api 发布时间: 20231115
...,120); this.form.pos((Laya.stage.width - this.form.width) / 2, (Laya.stage.height - this.form.height) / 2); Laya.stage.addChild(this.form); this.rowHeight = 30; this.rowSpacing = 10; var rowHeightDelta = this.rowSpacing + this.rowHeight; // 显示左侧标签 showLabel("邮箱", 0, rowHeightDelta * ...
来源: Laya_示例 发布时间: 20250405