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

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

61. laya.ui.UIComponent_API3.0 [ 48%]

...tion globalScaleX globalScaleY graphics gray height hideFlags 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 Metho...

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

62. laya.display.Scene_API3.0 [ 47%]

...lRotation globalScaleX globalScaleY graphics height hideFlags hitArea 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 ...

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

63. HTML文本 · LayaAir3.0文档 · LAYABOX [ 45%]

...的距离 * vertical-align:top|bottom|middle; 垂直对齐方式 * align:left|right|center; 水平对齐方式 * line-height:20px; 行高 * background-color:#ff0000; 背景颜色 * border-color:#ff0000; 边框颜色 * width:100px; 对象宽度 * height:100px; 对象高度 * * 示例用法: * var d...

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

64. 屏幕适配 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...8) 图2-7和图2-8仍然是故意没有处理。通过相对布局属性(left和right),把背景拉到全屏以及按钮拉到屏幕相对位置显示。实现各个屏幕下都做到完美的全屏适配。 3.2.3 自动保宽高模式fixedauto fixedauto自动保宽高模式就是在保障设...

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

65. laya.d3.core.Camera_API3.0 [ 42%]

...at: TextureFormat cullingMask: number Returns ArrayBufferView[] bake front left right up down Static getTexturePixel getTexturePixel(texture: Texture2D): ArrayBufferView Defined in laya/d3/core/Camera.ts:150 get PixelTexture Parameters texture: Texture2D Returns ArrayBufferView Static instantiate in...

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

66. laya.ui.TextArea [ 42%]

...。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX ...

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

67. laya.ui.Label [ 42%]

...。 Node  align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchor...

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

68. laya.d3.webxr.core.WebXRCamera_API3.0 [ 42%]

...at: TextureFormat cullingMask: number Returns ArrayBufferView[] bake front left right up down Static getTexturePixel getTexturePixel(texture: Texture2D): ArrayBufferView Inherited from Camera.getTexturePixel Defined in laya/d3/core/Camera.ts:150 get PixelTexture Parameters texture: Texture2D Returns...

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

69. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...C }; //字符串形式的枚举 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)//单行字符串文本类型,等价于 {...

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

70. laya.ui.TextInput [ 41%]

...。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX ...

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