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

大约有 450 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)

311. laya.d3.math.Vector2_API3.0 [ 45%]

...个二维向量的点积。 Parameters a: Vector2 left向量。 b: Vector2 right向量。 Returns number 点积。 Static normalize normalize(s: Vector2, out: Vector2): void Defined in laya/d3/math/Vector2.ts:100 归一化二维向量。 Parameters s: Vector2 源三维向量。 out: Vector2 输出...

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

312. laya.maths.Vector2_API3.0 [ 44%]

...个二维向量的点积。 Parameters a: Vector2 left向量。 b: Vector2 right向量。 Returns number 点积。 Static equals equals(a: Vector2, b: Vector2): boolean Defined in laya/maths/Vector2.ts:55 判断两个二维向量是否相等。 Parameters a: Vector2 三维向量。 b: Vector2 三维...

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

313. HTML文本 · LayaAir3.0文档 · LAYABOX [ 44%]

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

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

314. 文本进阶使用 · LayaAir3.0文档 · LAYABOX [ 44%]

... * @param textAlign 文本对齐方式,可选值:"left","center","right"。 */ fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign: string): FillTextCmd { return this.addCmd(FillTextCmd.create(text, x, y, font, color, textAlign, 0, "")); } 这里重...

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

315. 屏幕适配 · LayaAir3.0文档 · LAYABOX [ 42%]

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

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

316. laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 [ 40%]

...l-align:top|bottom|middle;    垂直对齐方式      * align:left|right|center;             水平对齐方式      * line-height:20px;                    行高      * background-color:#ff0000;            背景颜色      * border-c...

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

317. laya.ui.WXOpenDataViewer_API3.0 [ 40%]

...is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addC...

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

318. laya.ui.ScaleBox_API3.0 [ 40%]

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

319. laya.ui.Box_API3.0 [ 40%]

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

320. laya.ui.AdvImage_API3.0 [ 39%]

...is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect sizeGrid skewX skewY skin source stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChi...

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