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

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

191. sprite点击事件 位置便宜 [ 44%]

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

192. laya.map.GridSprite_API3.0 [ 44%]

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

193. laya.d3.core.scene.Scene [ 44%]

...ector.<ParallelSplitShadowMap>Scene parent : Node[override] Sprite pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY轴 轴心点的位置,单位为像素,默认为0。轴心点...

来源: laya_api 发布时间: 20170929

194. laya.ui.Slider [ 44%]

...Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数...

来源: Laya2.0_api 发布时间: 20190513

195. laya.map.MapLayer_API3.0 [ 44%]

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

196. laya.ui.ScrollBar [ 44%]

...,则显示筛选会不精确)。 Sprite parent : Node[override] Sprite pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY轴 轴心点的位置,单位为像素,默认为0。轴心点...

来源: laya_api 发布时间: 20170929

197. laya.ui.DialogManager_API3.0 [ 44%]

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

198. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

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

199. laya.ui.Dialog [ 44%]

...,则显示筛选会不精确)。 Sprite parent : Node[override] Sprite pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY轴 轴心点的位置,单位为像素,默认为0。轴心点...

来源: laya_api 发布时间: 20170929

200. laya.ani.swf.MovieClip_API3.0 [ 44%]

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