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

大约有 268 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)

221. laya.ui.TextArea_API3.0 [ 63%]

...aleX globalScaleY graphics gray hScrollBar hScrollBarSkin height hideFlags hitArea html ignoreLang is3D italic leading left mask maxChars maxScrollX maxScrollY maxWidth mouseEnabled mouseX mouseY multiline numChildren overflow padding parent pivotX pivotY prompt promptColor restrict right rotation s...

来源: Laya3.0_api 发布时间: 20231115

222. laya.d3.core.scene.Scene3D_API3.0 [ 63%]

...ogStart globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea iblTex iblTexRGBD is3D lightmaps mask mouseEnabled mouseX mouseY numChildren parent physicsSimulation pivotX pivotY reflectionIntensity rotation scaleX scaleY scene scene2D sceneRenderableManager scrollRect shadowMapF...

来源: Laya3.0_api 发布时间: 20231115

223. laya.ui.Tree_API3.0 [ 63%]

...rs globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D itemRender keepStatus left list mask mouseEnabled mouseHandler mouseX mouseY numChildren parent pivotX pivotY renderHandler right rotation scaleX scaleY scene scrollBar scrollBarSkin scrollRect selectedIndex sele...

来源: Laya3.0_api 发布时间: 20231115

224. iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 [ 63%]

...nation-out"; this.guideContainer.addChild(this.interactionArea); this.guideHitArea = new Laya.HitArea(); this.guideHitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); this.guideContainer.hitArea = this.guideHitArea; this.guideContainer.mouseEnabled = true; this.tipContainer =...

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

225. viewport 的用法 [ 62%]

viewport 的用法  var Sprite = Laya.Sprite;   var HitArea = Laya.HitArea;   var Graphic = Laya.Graphics;   var Event   = Laya.Event;   var Layer = Laya.Layer;   var Rectangle = Laya.Rectangle;   function layaSlot(info){       layaSlot.__super.call(this);       this.size(200,200);  ...

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

226. 点击事件的穿透 [ 59%]

...你的显示对象是否具有鼠标点击区域,设置一个size或者hitArea看下! 2017-04-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 huarray 相关问题 Dialog:屏蔽点击Dialog之外的区域关闭弹框 分享:自...

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

227. 扩大按钮点击热区 [ 59%]

...同来自: andyskaura vvar btnRec:Rectangle = new Rectangle(x,y,w,h); btn.hitArea = btnRec; 2018-03-21 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 axdlj520 相关问题 Dialog:屏蔽点击Dialog之外的区...

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

228. srpite 绑定startDrag事件没有出发 [ 59%]

... 1 个回复 cuixueying 赞同来自: 为你的sprite设置一个size或者hitArea,确定鼠标相应区域! 2017-02-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 perfect_wo 相关问题 分享:自定义事件派发与侦听(...

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

229. Sprite如何触发鼠标事件? [ 59%]

...你需要给你的显示对象,也就是sprite设置一个size值或者hitArea,这个的区域就是你sprite可点击的区域 2016-10-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gplzh 相关问题 请问有没有方法能够...

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

230. 按钮扩大热区的问题 [ 59%]

...(); tempgraphics.drawRect(0,0,50,50,"FFFFFF"; this.rootSceneView.avatorBtn.hitArea = tempgraphics   首先绘制的时候必须带上颜色 才能绘制  然后会崩溃   附件 : --> 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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