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

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

511. laya.d3.component.Animator [ 61%]

... 添加动画片段。 Animator event(type:String, data:* = null):Boolean 派发事件EventDispatcher  getClip(playName:String):AnimationClip 通过播放名字获取动画片段。 Animator  getClipCount():int 获取动画片段个数。 Animator hasListener(type:String):Boolean 检查 Ev...

来源: laya_api 发布时间: 20170929

512. laya.resource.TextureCube_API3.0 [ 61%]

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

513. as3中如何定义html中的id参数 [ 61%]

...定义!这是为什么? 已上传 Demo 附件 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 写了个边缘光的自定义shader,有很多问题,帮忙看一下 2.0 drawTexture color参数无效 怎样获取浏览器地址传过来的GET参数 event自定义事件...

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

514. laya.resource.Texture2DArray_API3.0 [ 61%]

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

515. laya.ani.swf.MovieClip [ 61%]

... index:int):void 增加一个标签到index帧上,播放到此index后会派发label事件 MovieClip clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node cus...

来源: laya_api 发布时间: 20170929

516. laya.device.motion.Accelerator [ 61%]

...rator(singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件EventDispatcher  getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部...

来源: laya_api 发布时间: 20170929

517. laya.device.motion.Accelerator [ 61%]

...rator(singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件EventDispatcher  getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部...

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

518. laya.media.SoundChannel [ 61%]

...ublic Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型...

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

519. laya.ani.swf.MovieClip [ 60%]

... index:int):void 增加一个标签到index帧上,播放到此index后会派发label事件 MovieClip callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Func...

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

520. 使用/*[COMPILER OPTIONS:normal]*/来编译分包无法生成Dictionary类的定义 [ 60%]

...定义!这是为什么? 已上传 Demo 附件 分享:自定义事件派发与侦听(A页面派发 B页面侦听) Laya中的宏编译要怎么用啊 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小程序—未找到入口 app.jso...

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