大约有 1,880 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1141) Laya3.0_api(242) Laya2.0_文档(103) Laya2.0_示例(94) Laya_示例(91) Laya2.0_api(82) laya_api(76) Laya3.0_文档(51)
...="UTF-8"> <title></title> <meta name="viewport" content="width=750, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <style> *{margin: 0; padding: 0;} body{background: #0099FF;} body,html{height: 100%;} .layaDiv{width: 300px;height: 300px;margin:...
来源: Laya_社区 发布时间: 20170427
...edMap.createMap("res/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); ...
来源: Laya_社区 发布时间: 20201230
...看一下这种遮罩bar的进度条设了遮罩不起作用 Sprite中的width,height和size(width,height)感觉没作用啊 小游戏的后台切换事件名是什么?? 问题状态 最新活动: 2017-07-19 12:15 浏览: 2224 关注: 4 人 cuixueying • 2017-07-19 14:14 可以用,你...
来源: Laya_社区 发布时间: 20161208
...ounds = view.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);...
来源: Laya_社区 发布时间: 20200330
...明显变模糊,如: this.animation.pivot(this.animation.getBounds().width / 2,this.animation.getBounds().height / 2); 如果this.animation.getBounds().width / 2为非整数,动画就会变模糊,像下面带有小数点就会模糊 this.animation.pivot(100.5,100.5); 发现带小数点的...
来源: Laya_社区 发布时间: 20170207
...ensity 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 constructor new BoxCollider(): BoxCollider I...
来源: Laya3.0_api 发布时间: 20231115
...r.scaleX=1.5;类似这样去改变看看,你可以改变它的scale值,width、height,,但是位置无法改变,因为滚动条的位置是跟随panel的位置适配好的 2017-07-03 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20170703
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY g...
来源: Laya3.0_api 发布时间: 20231115
... const sp = new Laya.Sprite(); sp.size(Laya.stage.width, Laya.stage.height); sp.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, '0xff0000'); Laya.stage.addChild(sp); 附件 : --> 2025-07-31 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20250731
...是全屏,给了引导容器 maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000") 重点来了,这里设置了可点击区域,范围也是全屏,给了舞台 hitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000") 最后,在背景的click事...
来源: Laya_社区 发布时间: 20180530