大约有 285 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0070 秒)
Laya_社区(78) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya2.0_示例(14) Laya_示例(11) Laya3.0_文档(6) Laya2.0_文档(5)
...ct.graphics.drawRect(0, 0, 200, 200, "#D2691E"); rect.size(200, 200); rect.pivot(100,100); rect.x = Laya.stage.width /2; rect.y = Laya.stage.height / 2; // let hitArea = new Laya.Rectangle(rect.x-100,rect.y-100,200,200); // rect.hitArea = hitArea; Laya.stage.addChild(rect); //增加鼠标事件 rect...
来源: Laya_社区 发布时间: 20180205
... hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addAniSprite addChild addChildAt addChildren...
来源: Laya3.0_api 发布时间: 20231115
...ector.<ParallelSplitShadowMap>Scene parent : Node[override] Sprite pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY轴 轴心点的位置,单位为像素,默认为0。轴心点...
来源: laya_api 发布时间: 20170929
...Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数...
来源: Laya2.0_api 发布时间: 20190513
... hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent...
来源: Laya3.0_api 发布时间: 20231115
...,则显示筛选会不精确)。 Sprite parent : Node[override] Sprite pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY轴 轴心点的位置,单位为像素,默认为0。轴心点...
来源: laya_api 发布时间: 20170929
... hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent...
来源: Laya3.0_api 发布时间: 20231115
...age.height >> 1); //位置 this.txt.size(500, 30); //大小 this.txt.pivot(this.txt.width/2, this.txt.height/2); //轴心点 this.txt.text = "大家好,欢迎各位开发者使用LayaAir IDE,这里是Text的文本内容,您可以基于此文本进行调试"; //文本内容 this.txt.font ...
来源: Laya3.0_文档 发布时间: 20251010
...,则显示筛选会不精确)。 Sprite parent : Node[override] Sprite pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY轴 轴心点的位置,单位为像素,默认为0。轴心点...
来源: laya_api 发布时间: 20170929
...lags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scrollRect skewX skewY source stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildr...
来源: Laya3.0_api 发布时间: 20231115