大约有 9 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
...小游戏中无效 lh文件内meshSprite添加阴影属性无效 transform.pivot = new Laya.Vector3(0,1,0); 设置pivot无效~~~~~~~~~~~~~ 3D模型的锚点设置无效 ColorFilter滤镜在遮罩下无效 问题状态 最新活动: 2017-03-31 15:15 浏览: 1112 关注: 3 人 q12647 • 2017-03-31 15...
来源: Laya_社区 发布时间: 20170327
.../OPPO/vivo/趣头条/百度 等渠道发布 官方的API为什么找不到pivot和pos? 热更新有时候会漏掉或者没有正确加载某个js代码文件,导致游戏在运行中因找不到这个文件而报错了。 问题状态 最新活动: 2020-02-27 17:46 浏览: 3271 关注: 2 人 La...
来源: Laya_社区 发布时间: 20200227
...序问题,所以会导致刚体偏移,这是我们的bug(建议先用pivot修改) 2.swf问题应该是是你的swf文件中用到了我们不支持的东西(我们只支持简单的动画播放) 3.zOrder问题是引擎设计如此,你的这种操作不会触发children的重新排序...
来源: Laya_社区 发布时间: 20201127
...何作用,并没有缓存资源 var text = new Laya.Text();为什么text.pivot(200,200);不起作用 构造函数不能进断点 问题状态 最新活动: 2018-03-26 18:27 浏览: 900 关注: 2 人
来源: Laya_社区 发布时间: 20180326
...(); let bounds = this.playerUnit[i].getGraphicBounds(); this.playerUnit[i].pivot(bounds.width / 2, bounds.height / 2); this.playerUnit[i].scaleX=300/bounds.width; this.playerUnit[i].scaleY = 300/bounds.height; this.playerUnit[i].pos(200,400); Laya.stage.addChild(this.playerUnit[i]); } this.playerUni...
来源: Laya_社区 发布时间: 20200910
...bound: Laya.Rectangle = this.aniBody.getBounds(); this.aniBody.pivot(bound.width / 2, bound.height / 2); if (direction < 0) { this.aniBody.scaleX = -1; } else { this.aniBody.scaleX = 1; } } 每改变一个...
来源: Laya_社区 发布时间: 20170615
...像素。 2.2.3 锚点 Anchor 在讲解锚点之前需要先知道轴心点Pivot的概念。一个Sprite精灵对象默认的轴心点位于自身的左上角,设置Sprite精灵的位置时默认是以左上角为基准进行定位的。 轴心点是基准点,决定着Sprite在舞台的位置。...
来源: Laya3.0_文档 发布时间: 20251010
... hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent...
来源: Laya3.0_api 发布时间: 20231115
...Flags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _onActive _onInActive _processActive _set...
来源: Laya3.0_api 发布时间: 20231115