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

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

151. laya.d3.component.Script [ 55%]

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

来源: laya_api 发布时间: 20170929

152. 分享:为List组件下Item(Box)下的Button(或其他组件)进行监听! [ 55%]

...自: 在btn.on(Event.CLICK,this,onClickBtn,[index]);之前好像要先 btn.off(Event.CLICK,this,onClickBtn,[index]);不然会重复监听click事件 2017-06-04 0 1 分享 微博 QZONE 微信 gls_laybox 赞同来自: 这个是可以监听按钮,可是怎么拿到这个按钮对象呢,或者说这...

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

153. laya.d3.core.TransformUV [ 55%]

...ined By  matrix : Matrix4x4[read-only] 取变换矩阵。 TransformUV  offset : Vector2 取偏移。 TransformUV  rotation : Number 取旋转。 TransformUV  tiling : Vector2 取平铺次数。 TransformUVPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefin...

来源: laya_api 发布时间: 20170929

154. Spine骨骼动画点击区域偏移 获取不到width height [ 54%]

...y]);     }     private parseComplete(x, y) {         this._factory.off(Laya.Event.COMPLETE, this, this.parseComplete);         var sprite = this._factory.buildArmature(0);         sprite.x = x;         sprite.y = y;         sprite.scale(0.5,0.5);         sprite.autoSize =...

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

155. laya.d3.core.pixelline.PixelLineMaterial_API3.0 [ 54%]

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

156. laya.d3.component.physics.Collider [ 54%]

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

来源: laya_api 发布时间: 20170929

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

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

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

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

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

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