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

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

771. ios上input无法隐藏 [ 68%]

...建input             z_file.style="filter:alpha(opacity=0);opacity:0;width: 29%;height:11%;";             z_file.type ="file";//设置类型是file类型。             z_file.id ="z_sfz";//设置ID。             z_file.accept="image/*";//设置文件的格式为png;    ...

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

772. drawToCanvas真机资源无法释放 [ 68%]

... var htmc = this.paper.displayObject.drawToCanvas(this.paper.displayObject.width, this.paper.displayObject.height, 0,0); htmc.destroy(); --------》     __proto.destroy=function(){         this._ctx && this._ctx.destroy();         this._ctx=null;     } 在这里,thi...

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

773. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 68%]

...uth/sp_right.png"); this._arrCheck[3] = true; } break; } sp_icon.pos(input.width + 10, -8); input.addChild(sp_icon); } /** * 占位符处理 * @param input TextInput */ private _setPlaceHolder(input: Laya.TextInput) { switch (input.name) { case "input_nickname": // input.changeText("限6个中文以...

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

774. laya.ui.ViewStack_API3.0 [ 68%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize...

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

775. LayaNative appLoader.js中偶发_targets为undefined的问题 [ 68%]

...], args[2], args[3], args[4], args[5]._ctx._targets._glTexture.id, args[5].width, args[5].height);//这里的_ctx为undefined导致报错 } } ...... } 不知官方是否有收到过类似问题的反馈,该类问题是否有解决方案? 附件 : --> 2020-07-20 添加评论 免费帖 --> 分享 ...

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

776. 区块地图-等角地图 [ 68%]

...s/tiledMap/isometric_grass_and_water.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, mapLoaded), null, new Point(1600, 800)); } function onStageClick() { var p = new Point(0, 0); layer.getTilePositionByScreenPos(Laya.stage.mouseX, Laya.stage.mouseY, p); layer.ge...

来源: Laya_示例 发布时间: 20251209

777. laya.ui.VBox [ 68%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...

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

778. laya.ui.VBox_API3.0 [ 68%]

...gh name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOp...

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

779. Sprite用graphics绘制图形后,mouse_over触发scale显示有问题 [ 68%]

...rite(); this._body.graphics.drawCircle(0, 0, this._objectInfo.templateInfo.width, "#ff0000"); this._body.width = this._objectInfo.templateInfo.width; this._body.height = this._objectInfo.templateInfo.height; this.addChild(this._body); this.on(Event.MOUSE_OVER, this, this.__onMouseOverHole); this.on(...

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

780. laya.ui.HBox_API3.0 [ 68%]

...gh name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOp...

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