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

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

41. laya.ui.UIComponent [ 48%]

...优点:没有额外内存开销,无需renderTarget支持。 Sprite  centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent  centerY : Number 在父容器中,此对象的垂直方向中轴线...

来源: Laya2.0_api 发布时间: 20190513

42. laya.ui.Component [ 47%]

...同cacheAs的normal模式。建议优先使用cacheAs代替。 Sprite  centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component  centerY : Number 在父容器中,此对象的垂直方向中轴线与...

来源: laya_api 发布时间: 20170929

43. 属性设置器(JavaScript-IDE篇(JS)-设计模式基础) [ 45%]

...tom`四个属性主要用于组件与父容器边缘距离位置适配。 `centerX、centerY`两个属性主要用于组件与父容器中心位置适配。 在游戏开发中,我们不可能把所有屏幕分辨率全部考虑到,有的分辨率高,有的分辨率低。如果游戏项目代...

来源: Laya2.0_文档 发布时间: 20210714

44. 属性设置器(TypeScript-IDE篇(TS)-设计模式基础) [ 45%]

...tom`四个属性主要用于组件与父容器边缘距离位置适配。 `centerX、centerY`两个属性主要用于组件与父容器中心位置适配。 在游戏开发中,我们不可能把所有屏幕分辨率全部考虑到,有的分辨率高,有的分辨率低。如果游戏项目代...

来源: Laya2.0_文档 发布时间: 20210715

45. 属性设置器(ActionScript-IDE篇(AS3)-设计模式基础) [ 45%]

...tom`四个属性主要用于组件与父容器边缘距离位置适配。 `centerX、centerY`两个属性主要用于组件与父容器中心位置适配。 在游戏开发中,我们不可能把所有屏幕分辨率全部考虑到,有的分辨率高,有的分辨率低。如果游戏项目代...

来源: Laya2.0_文档 发布时间: 20210714

46. 基础使用与构成 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

....left = 0; this.xx.right = 0; this.xx.top = 0; this.xx.bottom = 0; this.xx.CenterX = 0; this.xx.CenterY = 0; 3.2 数据源dataSource 在实际开发中,从网络获取的数据有时候与 UI 组件预期的数据结构不完全一致,尤其在处理列表组件时更为常见。此时可以通...

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

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

... = 0.5;             this._pivotScaleY = 0.5;             this._centerX = 0;             this._centerY = 0;             this._viewPortX = 0;             this._viewPortY = 0;             this._viewPortWidth = 0;             this._viewPortHeight = 0;       ...

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

48. laya.ui.WXOpenDataViewer_API3.0 [ 39%]

...rs active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea ...

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

49. laya.ui.ScaleBox_API3.0 [ 39%]

...e activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea ...

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

50. laya.ui.Box_API3.0 [ 39%]

...e activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea ...

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