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

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

141. laya.d3.core.material.Material_API3.0 [ 57%]

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

142. 请问有没有方法能够获取“鼠标是否处于按下状态”? [ 57%]

...ge.on(Event.MOUSE_MOVE, this, onMouseMove); onMouseUp  中   Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); 也可以写个变量  ,down的时候为true,否则为false  如"cuixueying"  回答的一样! 2017-04-21 3 0 分享 微博 QZONE 微信 cuixueying 赞同来自: zhang92tong ...

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

143. sprite 设置为静态变量后,无法从舞台移除 [ 56%]

...); function onClick():void { // TODO Auto Generated method stub Laya.stage.off(Event.CLICK,this,onClick); Laya.stage.removeChild(sp); Loader.clearRes("background.jpg"); sp.destroy(); } } } } 2016-09-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

144. laya.media.Sound [ 56%]

...事件。 EventDispatcher  load(url:String):void 加载声音。 Sound off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...

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

145. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 56%]

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

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

146. Native IOS下获取陀螺仪数据为0 [ 55%]

...陀螺仪的移动                      Laya.Gyroscope.instance.off(Laya.Event.CHANGE, this, this.onOrientationChange);                      return;             }             console.log(`alpha = ${info.alpha} beta = ${info.beta} gamma = ${info.gamma} and x = ...

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

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

148. 分享:为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

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

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