大约有 211 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
...形式的枚举 enum Direction { Up = 'UP', Down = 'DOWN', Left = 'LEFT', Right = 'RIGHT' }; @regClass() export class Script extends Laya.Script { @property(Number)//数字类型,等价于{ type : "number" } num : number; @property(String)//单行字符串文本类型,等价于 { type: "string"}...
来源: Laya3.0_文档 发布时间: 20251010
...-7和图2-8仍然是故意没有处理。通过相对布局属性(left和right),把背景拉到全屏以及按钮拉到屏幕相对位置显示。实现各个屏幕下都做到完美的全屏适配。 3.2.3 自动保宽高模式fixedauto fixedauto自动保宽高模式就是在保障设计宽...
来源: Laya3.0_文档 发布时间: 20251010
...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 _processActive addChild addChildAt addChildren addCompo...
来源: Laya3.0_api 发布时间: 20231115
...值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX...
来源: Laya2.0_api 发布时间: 20190513
...值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚...
来源: laya_api 发布时间: 20170929
...is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY stage staticCache texture timer top transform url viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren add...
来源: Laya3.0_api 发布时间: 20231115
...值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX...
来源: Laya2.0_api 发布时间: 20190513
...值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚...
来源: laya_api 发布时间: 20170929
...值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认...
来源: laya_api 发布时间: 20170929
...值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认...
来源: Laya2.0_api 发布时间: 20190513