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

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

311. 微信小游戏中iPhoneX的适配问题 [ 45%]

...用fixedauto、或者full适配模式后,将bg的top、bottom、leftright属性设置为0,不就可以铺满全屏了么。     2018-06-21 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 发个可复现demo吧 2018-06-04 0 2 分享 微博 QZONE 微信 kezhiyu 赞同来自: 改用款...

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

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

313. 滚动支持 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

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

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

314. laya.maths.Vector2_API3.0 [ 45%]

...个二维向量的点积。 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

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

316. 文本进阶使用 · LayaAir3.4 · 引擎文档 · 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

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

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

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

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