大约有 1,720 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...atic resize(): void { // let w = this.config.width; // let h = this.config.height; // let screen_wh_scale = Laya.Browser.clientWidth / Laya.Browser.clientHeight; // if (Laya.stage.scaleMode == Laya.Stage.SCALE_FIXED_WIDTH) { // h = this.config.width / screen_wh_scale; // } else { // w = this.config....
来源: Laya_社区 发布时间: 20200520
...率 console.debug("-------loadingCallback---width="+Laya.Browser.width+",height ="+Laya.Browser.height+",pixelRatio="+Laya.Browser.pixelRatio);输出如下 -------loadingCallback---width=359,height =569,pixelRatio=1 569/359 = 1.58 // 比例的值 iPhone6分辨率375x667,像素750x1334 13...
来源: Laya_社区 发布时间: 20170615
...sion filterMode format gammaCorrection gammaSpace generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount obsolute offsetX offsetY referenceCount samples sourceHeight sourceWidth width wrapModeU wrapModeV wrapModeW cpuMemory currentActive gpuMemory Methods _addReference _clearRef...
来源: Laya3.0_api 发布时间: 20231115
...how Inherited Public Methods MethodDefined By Texture2D(width:int = 0, height:int = 0, format:int, mipmap:Boolean = true, canRead:Boolean = false) 创建一个 Texture2D 实例。 Texture2D _getSource():*[override] 获取纹理资源。 BaseTexture _parse(data:*, propertyParams:Object = null...
来源: 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_示例 发布时间: 20251209
....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
...tSize().width; var h:Number = maskSp.getSize().height; switch (this.type) { case PROGRESS_TIMER_TYPE_RADIAL: ...
来源: Laya_社区 发布时间: 20180404
...destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW blackTexture cpuMemory errorTexture gpuMemory grayTexture whiteTexture Methods _addReference _clearReference _removeRefer...
来源: Laya3.0_api 发布时间: 20231115
...this.closeBtn.x-10,this.closeBtn.y-10,this.closeBtn.width+20,this.closeBtn.height+20,"#FF0000"); let hitA:Laya.HitArea = new Laya.HitArea(); hitA.hit = g; this.closeBtn.hitArea = hitA; // 写法二 this.closeBtn.graphics.drawRect(this.closeBtn.x-10,this.closeBtn.y-10,this.closeBtn.width+20,this.clos...
来源: Laya_社区 发布时间: 20170920
.../display/cmd/DrawLineCmd.ts:9 Methods getBoundPoints getBoundPoints(sp?: { height?: number; width: number }): number[] Defined in laya/display/cmd/DrawLineCmd.ts:77 Parameters Optional sp: { height?: number; width: number } Optional height?: number width: number Returns number[] recover recover(): v...
来源: Laya3.0_api 发布时间: 20231115