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

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

791. panel内容较多时 真机上报错larger than MAX_TEXTURE_SIZE (4096) [ 68%]

...(4096) 微信小游戏使用panel,在等比缩放下,其内容的设计height约2000左右(我是用box包着的),在iphone的plus系列机型下,在真机上会报[wxgl]Warning: Image [Dynamic] larger than MAX_TEXTURE_SIZE (4096),laya模拟器和微信开发工具下不会出现,在...

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

792. laya.ui.ProgressBar [ 68%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...

来源: laya_api 发布时间: 20170929

793. laya.ui.View_API3.0 [ 68%]

...stPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters global...

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

794. [LayaAir3]3.3.0.beta.3 2d物理RigidBody代码生成问题 [ 68%]

...2D();         shape.x = object.width / 2;         shape.y = object.height / 2;         shape.width = 1;         shape.height = 1;         rigidBody.shapes = [shape];         return rigidBody;     } 附件 : --> 2025-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

795. 克隆sprite [ 68%]

...empSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) {             let tempSpr: Sprite = new Sprite();             let tempImg: Laya.Image;             let arr: Array<object&gt...

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

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

...url autoSize 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 dra...

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

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

...           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

798. 关于闭包的问题 [ 68%]

...", (bg.width / letterList.length) * z, 0, bg.width / letterList.length, bg.height / 2); Laya.stage.addChild(letter); letter.on("click", this, (function(para){ console.log("z:"+z+";para:"+para+";letterList[para]:"+letterList[para]); return function () { alert("z:"+z+";para:" + para + "I'm letter " + ...

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

799. laya.ui.HBox [ 68%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...

来源: laya_api 发布时间: 20170929

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

...ject.drawToCanvas(this.paper.displayObject.width, this.paper.displayObject.height, 0,0); htmc.destroy(); --------》     __proto.destroy=function(){         this._ctx && this._ctx.destroy();         this._ctx=null;     } 在这里,this.ctx并没有destroy方法,na...

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