大约有 209 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
...ild(tree); } } class Item extends Laya.Box { constructor() { super(); this.right = 0; this.left = 0; var selectBox: Laya.Clip = new Laya.Clip("resources/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设置 selectBox 的name 为“selectBox”时,将被识别为树结构的项的...
来源: Laya3.0_文档 发布时间: 20251010
...可用性。 代码中的使用示例如下: this.xx.left = 0; this.xx.right = 0; this.xx.top = 0; this.xx.bottom = 0; this.xx.CenterX = 0; this.xx.CenterY = 0; 3.2 数据源dataSource 在实际开发中,从网络获取的数据有时候与 UI 组件预期的数据结构不完全一致,尤其...
来源: Laya3.0_文档 发布时间: 20251010
... Shift 键的值为 KeyLocation.LEFT,右 Shift 键的值为 KeyLocation.RIGHT。另一个示例是区分标准键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。 Event nativeEvent : * 原生浏览器事件。Event shiftKey : Boolean[read-only] 表示 ...
来源: Laya2.0_api 发布时间: 20190513
... ORIENTATION_STAGGERED RENDERORDER_LEFTDOWN RENDERORDER_LEFTUP RENDERORDER_RIGHTDOWN RENDERORDER_RIGHTUP Accessors gridHeight gridWidth height numColumnsGrid numColumnsTile numRowsGrid numRowsTile orientation renderOrder scale tileHeight tileWidth width x y Methods changeViewPort changeViewPortBySiz...
来源: Laya3.0_api 发布时间: 20231115
... Shift 键的值为 KeyLocation.LEFT,右 Shift 键的值为 KeyLocation.RIGHT。另一个示例是区分标准键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。 Event nativeEvent : * 原生浏览器事件。Event shiftKey : Boolean[read-only] 表示 ...
来源: laya_api 发布时间: 20170929
...0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 Component rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴缩...
来源: laya_api 发布时间: 20170929
...个二维向量的点积。 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
... Shift 键的值为 KeyLocation.LEFT,右 Shift 键的值为 KeyLocation.RIGHT。另一个示例是区分标准键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。 Event nativeEvent : * 原生浏览器事件。Event shiftKey : Boolean[read-only] 表示 Shif...
来源: Laya2.0_api 发布时间: 20190513
...个二维向量的点积。 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
...0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite right : Number 从组件右边到其内容区域右边之间的水平距离(以像素为单位)。 UIComponent rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴...
来源: Laya2.0_api 发布时间: 20190513