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

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

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. 滚动支持 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...contentWidth/viewWidth或者contentHeight/viewHeight。 scrollLeft scrollRight scrollUp scrollDown 向指定方向滚动N*step。例如,如果step=20,那么scrollLeft(1)表示向左滚动20像素,scrollLeft(2)表示向左滚动40像素。注意:如果滚动属性设置了贴近元件,例...

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

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

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

315. 文本进阶使用 · LayaAir3.3 · 引擎文档 · 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_文档 发布时间: 20251010

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 [ 40%]

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