大约有 267 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
Laya_社区(68) Laya3.0_api(62) Laya2.0_api(61) laya_api(57) Laya3.0_文档(10) Laya2.0_文档(5) Laya2.0_示例(3) Laya_示例(1)
...,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。 Returns number Inherited from Text.pivotX Defined in laya/display/Sprite.ts:930 X轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。 P...
来源: Laya3.0_api 发布时间: 20231115
...父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from UIComponent.centerX Defined in laya/ui/UIComponent.ts:230 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的...
来源: Laya3.0_api 发布时间: 20231115
...父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from UIComponent.centerX Defined in laya/ui/UIComponent.ts:230 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的...
来源: Laya3.0_api 发布时间: 20231115
...动 关于apk打包动画卡的问题 为什么ani动画执行的不是按中心点执行的 问题状态 最新活动: 2022-06-08 17:40 浏览: 4159 关注: 3 人 158*****197 • 2022-06-06 16:43 你好,代码已上传,W是触发三个技能的连招,关键方法就是图上那里,技能连...
来源: Laya_社区 发布时间: 20220606
... 微博 QZONE 微信 cuixueying 赞同来自: 设置小人的pivot值,让中心点在其左上角即可! 2017-08-18 0 1 分享 微博 QZONE 微信 houkaihua888 赞同来自: 设置pivot值,试了不管用,它只会移动那个小人,对于点击区域没有作用 点击区域始终在小...
来源: Laya_社区 发布时间: 20170818
...,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。 Returns number Inherited from AnimationBase.pivotX Defined in laya/display/Sprite.ts:892 X轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转...
来源: Laya3.0_api 发布时间: 20231102
...,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。 Returns number Inherited from Text.pivotX Defined in laya/display/Sprite.ts:930 X轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。 P...
来源: Laya3.0_api 发布时间: 20231115
...,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。 Returns number Inherited from Text.pivotX Defined in laya/display/Sprite.ts:930 X轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。 P...
来源: Laya3.0_api 发布时间: 20231115
...mber 光晕元素的强度 1.0 startPosition number 起始位置(0=光源中心,1=屏幕边缘) 0.0 angularOffset number 角度偏移(0-360度) 0.0 rotation number 旋转角度 0.0 autoRotate boolean 是否自动旋转 false scale Vector2 缩放(x, y) Vector2(1, 1) positionOffset Vecto...
来源: Laya3.0_文档 发布时间: 20260105
...on-5.png", "resources/res/ui/button-6.png"]; // 计算将Button至于舞台中心的偏移量 this.xOffset = (Laya.stage.width - this.HORIZONTAL_SPACING * (this.COLUMNS - 1) - this.BUTTON_WIDTH) / 2; this.yOffset = (Laya.stage.height - this.VERTICAL_SPACING * (this.skins.length / this.COLUMNS - 1) -...
来源: Laya3.0_文档 发布时间: 20251010