大约有 1,723 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0086 秒)
Laya_社区(1004) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(49)
...擎可以通过laya.utils.Browser.clientWidth和laya.utils.Browser.clientHeight来获取屏幕的宽与高。 **6、物理宽高:** 关于设备屏幕的物理宽高,我们需要先了解像素密度的概念。在PC电脑上,通常一个像素位置上就是一个物理像素。在移动...
来源: Laya2.0_文档 发布时间: 20200307
...(4096) 微信小游戏使用panel,在等比缩放下,其内容的设计height约2000左右(我是用box包着的),在iphone的plus系列机型下,在真机上会报[wxgl]Warning: Image [Dynamic] larger than MAX_TEXTURE_SIZE (4096),laya模拟器和微信开发工具下不会出现,在...
来源: Laya_社区 发布时间: 20180808
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...
来源: laya_api 发布时间: 20170929
...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
...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
...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>...
来源: Laya_社区 发布时间: 20170508
...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
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...
来源: laya_api 发布时间: 20170929
... 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
...", (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