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

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

31. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...像素。 2.2.3 锚点 Anchor 在讲解锚点之前需要先知道轴心点Pivot的概念。一个Sprite精灵对象默认的轴心点位于自身的左上角,设置Sprite精灵的位置时默认是以左上角为基准进行定位的。 轴心点是基准点,决定着Sprite在舞台的位置。...

来源: Laya3.0_文档 发布时间: 20251010

32. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...age.height >> 1); //位置 this.txt.size(500, 30); //大小 this.txt.pivot(this.txt.width/2, this.txt.height/2); //轴心点 this.txt.text = "大家好,欢迎各位开发者使用LayaAir IDE,这里是Text的文本内容,您可以基于此文本进行调试"; //文本内容 this.txt.font ...

来源: Laya3.0_文档 发布时间: 20251010

33. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...height >> 1); //位置 this.txtin.size(500, 60); //大小 this.txtin.pivot(this.txtin.width/2, this.txtin.height/2); //轴心点 this.txtin.font = "宋体"; //字体 this.txtin.fontSize = 50; //字体大小 this.txtin.color = "#ff0000"; //字体颜色 this.txtin.bold = true; //加粗 this.txti...

来源: Laya3.0_文档 发布时间: 20251010

34. laya.map.TileAniSprite_API3.0 [ 33%]

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

35. laya.ui.OpenDataContextView_API3.0 [ 30%]

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

36. 引擎 TiledMap 居然不支持图块翻转 [ 29%]

...TEMP);                                         tSprite.pivot(tObjWidth / 2, tObjHeight / 2);                                         tSprite.rotation = tObjectData.rotation;                                         tSprite.x = tSprite.relati...

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