大约有 449 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(200) Laya_社区(91) Laya2.0_api(61) laya_api(51) Laya3.0_文档(22) Laya2.0_文档(14) Laya_示例(6) Laya2.0_示例(4)
...个二维向量的点积。 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
...contentWidth/viewWidth或者contentHeight/viewHeight。 scrollLeft scrollRight scrollUp scrollDown 向指定方向滚动N*step。例如,如果step=20,那么scrollLeft(1)表示向左滚动20像素,scrollLeft(2)表示向左滚动40像素。注意:如果滚动属性设置了贴近元件,例...
来源: Laya3.0_文档 发布时间: 20251010
...个二维向量的点积。 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
...距离 * 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
... * @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
...l-align:top|bottom|middle; 垂直对齐方式 * align:left|right|center; 水平对齐方式 * line-height:20px; 行高 * background-color:#ff0000; 背景颜色 * border-c...
来源: Laya_社区 发布时间: 20190815
...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
...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
...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
...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