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

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

651. 如何让List的根据内容高度自适应 [ 71%]

...让List的根据内容高度自适应 如题,看api说明,设置list的height=0后高度会自适应,但是没有效果,请问如何实现根据内容高度自适应 2017-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

652. laya.ui.Panel [ 71%]

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

来源: laya_api 发布时间: 20170929

653. 2.3微信截图分享问题 [ 71%]

... var tempFilePath = canvas.toTempFilePathSync( { x: 0, y: 0, width: 100, height: 100, destWidth: 100, destHeight: 100, fileType: 'jpg', quality: 1.0 });   var canvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0).getCanvas();   这是第二种写法。翻了几次论坛据说...

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

654. [LayaAir3]charactarcontroller的胶囊碰撞体不正常 [ 71%]

...3]charactarcontroller的胶囊碰撞体不正常 默认radius:0.5,   Height:2 但是设为radius:0.25,   Height:1时胶囊碰撞体体正好包围蓝色胶囊网格体;再关闭编辑器重新打开项目时,发现碰撞胶囊体是大小 默认的0.5和2,但是数值是0.25和...

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

655. 关于laya生成的canvas定位问题导致内部事件不正确 [ 71%]

...t;style> *{margin: 0; padding: 0;} body{background: #0099FF;} body,html{height: 100%;} .layaDiv{width: 300px;height: 300px;margin: 10% auto 0;background: #ccc;position: relative;} .msgDiv{font-size: 30px;color: #fff;text-align: center;padding-top: 30px;} </style> </head> <body> ...

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

656. 加载TiledMap 不显示 [ 71%]

...s/tiledMap/t2.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded), null, new Point(1600, 800));     }      private onStageClick(): void {         var p: Point = new Point(0, 0);         this.layer.getTileP...

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

657. laya.js.exe的outlaya=true是什么作用 [ 71%]

...下这种遮罩bar的进度条设了遮罩不起作用 Sprite中的width,height和size(width,height)感觉没作用啊 小游戏的后台切换事件名是什么?? 问题状态 最新活动: 2017-07-19 12:15 浏览: 2224 关注: 4 人 cuixueying • 2017-07-19 14:14 可以用,你是遇...

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

658. laya的drawToTexture太坑 [ 71%]

...getSelfBounds(); let texture = view.drawToTexture(bounds.width, bounds.height, -bounds.x + view.x, -bounds.y + view.y) as laya.resource.Texture; shadow.graphics.drawTexture(texture, bounds.x, bounds.y, bounds.width, bounds.height, null, 0.3); shadow.pos(view.x, view.y); view.parent.ad...

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

659. laya.physics.BoxCollider_API3.0 [ 71%]

...runInEditor scriptPath Accessors awaked density destroyed enabled friction height hideFlags id isSensor restitution width x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors con...

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

660. 关于panel的scroll怎么修改滚动条的位置及样式 [ 71%]

...=1.5;类似这样去改变看看,你可以改变它的scale值,width、height,,但是位置无法改变,因为滚动条的位置是跟随panel的位置适配好的   2017-07-03 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 et...

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