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

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

51. laya.d3.resource.models.Mesh_API3.0 [ 87%]

...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...

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

52. 如何能监听到TouchStart和TouchEnd事件 [ 87%]

如何能监听到TouchStart和TouchEnd事件 如何能监听到TouchStart和TouchEnd事件 2017-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 189*****192 赞同来自: Sean8023 Laya.stage.on(Event.MOUSE_U...

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

53. laya.d3.resource.TextureCube_API3.0 [ 87%]

...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...

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

54. laya.resource.TextureCube_API3.0 [ 87%]

...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...

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

55. laya.display.Node_API3.0 [ 87%]

...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...

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

56. laya.resource.Texture2DArray_API3.0 [ 86%]

...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...

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

57. parameter 2 is not of type 'WebGLTexture'. [ 86%]

...ildByName('wrap') as Laya.Box; wrap.addChild(videoElement); // 监听点击事件,开始播放视频 let btn_start = this.getChildByName('btn_start') as Laya.Image; btn_start.on(Laya.Event.CLICK,this,()=>{ // 加载资源足以播放 if(videoElement.readyState == 4){ videoElement.play(); } }); ...

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

58. laya.ani.bone.Templet_API3.0 [ 86%]

...eventAniArr eventAniArr: any[] = [] Defined in laya/ani/bone/Templet.ts:66 事件动画数据 ikArr ikArr: any[] = [] Defined in laya/ani/bone/Templet.ts:42 IK数据 isParseFail isParseFail: boolean = false Defined in laya/ani/bone/Templet.ts:60 是否解析失败 Optional lock lock: boolean Inherit...

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

59. [LayaAirIDE3]2d相机打包后问题 [ 85%]

...   this.playerScript.mapMaxY = MAP_Y + MAP_HEIGHT;          // 摇杆事件监听         this.joystickScript.owner.on(Joystick.MOVE, this, (data: any) => {             this.playerScript.move(data.direction, data.force);         });          this.joystickScript.owner.on(J...

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

60. 鼠标交互-鼠标交互 [ 85%]

... = (Laya.stage.height - 200) / 2; Laya.stage.addChild(rect); //增加鼠标事件 rect.on(Event.MOUSE_DOWN, this, mouseHandler); rect.on(Event.MOUSE_UP, this, mouseHandler); rect.on(Event.CLICK, this, mouseHandler); rect.on(Event.RIGHT_MOUSE_DOWN, this, mouseHandler); rect.on(Event.RIGHT_MOUSE_UP, t...

来源: Laya_示例 发布时间: 20260815