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

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

171. laya.d3.component.physics.Collider [ 53%]

...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...

来源: laya_api 发布时间: 20170929

172. 是我判断语句写错吗?怎么一直执行第一个条件 [ 53%]

...接 提交 3 个回复 cuixueying 赞同来自: 把你的输出放到on和off事件的上方看下。 2017-01-12 0 6 分享 微博 QZONE 微信 Todo 赞同来自: ......... 2017-01-12 0 0 分享 微博 QZONE 微信 jifm 赞同来自: 两个等号,你这是赋值 2017-01-12 0 2 分享 微博 QZONE ...

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

173. Laya的Dialog上如果有按钮 我希望点击到按钮或者其他可以相应的控件 不会触发拖动效果 [ 53%]

...g) { this.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } else { this.off(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } }  onMouseDown(e: Laya.Event) { // console.log(e.currentTarget, e.target); if(e.target == this) { this.startDrag(); } else { this.stopDrag(); } }   判断一下点击对...

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

174. laya.d3.component.AttachPoint [ 53%]

...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...

来源: laya_api 发布时间: 20170929

175. 按钮调用on方法,注册了Laya.Event.MOUSE_DOWN后,第一次点击不会被触发,第二次点击才会响应 [ 53%]

...只在app启动后第一次点击会出现,第一次点击后,再使用off取消注册,再on注册,点击是正常的 2018-04-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 18120789265 赞同来自: 我...

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

176. laya.d3.core.material.EffectMaterial_API3.0 [ 53%]

...ode shaderData stencilOp stencilRef stencilTest stencilWrite texture tilingOffset cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByI...

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

177. laya.d3.core.trail.TrailMaterial_API3.0 [ 52%]

...ode shaderData stencilOp stencilRef stencilTest stencilWrite texture tilingOffset cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByI...

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

178. laya.d3.core.material.SkyBoxMaterial_API3.0 [ 52%]

...ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex...

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

179. laya.d3.core.material.SkyPanoramicMaterial_API3.0 [ 52%]

...ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex...

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

180. 引擎遮罩报错 [ 52%]

...< 15; i++) { var attItem: HeadItem = new HeadItem; attItem.x = i * this.OFF_X; this.itemList.push(attItem); this.itemSpr.addChild(attItem); } let maskSp:Laya.Sprite = new Laya.Sprite; maskSp.graphics.drawRect(0,0,760,140,'#ffffff'); this.itemSpr.mask = maskSp; 测试 在无mask的情况下不会...

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