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

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

61. laya.d3.core.particleShuriKen.ShurikenParticleRenderer [ 75%]

...ass ShurikenParticleRendererInheritanceShurikenParticleRenderer BaseRender EventDispatcher Object ShurikenParticleRender 类用于创建3D粒子渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  bounds : Bounds[override] [read-only...

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

62. List组件Mousehandler事件 [ 75%]

...以在mouseHandler下对鼠标事件进行判断和使用,譬如e.type=Event.CLICK,对事件类型进行判断,然后进行逻辑的实现! 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 182*****278 相关问题 分享...

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

63. 我二进制资源load之后,为什么通过getRes获取不到。 [ 74%]

...andler 怎么获取条目 怎样获取浏览器地址传过来的GET参数 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2018-10-11 15:01 浏览: 1631 关注: 3 人 fengzv • 2018-10-11 18:01 因为加载完又给清除了,所以获取不到。我设...

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

64. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 74%]

...nifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的...

来源: Laya2.0_文档 发布时间: 20210715

65. 如何监听移动端软键盘的弹出和收回? [ 74%]

...h=200; textInput.x=100; textInput.y=200; addChild(textInput); textInput.addEventListener(FocusEvent.FOCUS_IN,onFocusIn); textInput.addEventListener(FocusEvent.FOCUS_OUT,onFocusOut); private function onFocusIn(event:FocusEvent):void { textInput.text="你的键盘打开了"; } private function onFocus...

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

66. 2.x引擎项目升级指南 · LayaAir3.0文档 · LAYABOX [ 73%]

...Laya.Script命名函数方式处理输入。例如: this.aNode.on(Laya.Event.CLICK, ()=> { console.log("clicked"); }); class MyScript extends Laya.Script { //脚本事件 onMouseClick(e:Event) { console.log("clicked"); } } aNode.addComponent(MyScript); 以上两种方式是等价的,且在纯...

来源: Laya3.0_文档 发布时间: 20230406

67. laya.display.Input [ 73%]

... All Classes | Index | Frames No Frames InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框...

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

68. 关于HttpRequest报错问题 [ 73%]

...nt-Type","application/x-www-form-urlencoded; charset=utf-8"); xmlHttp.once(Event.COMPLETE,this,onHttpRequestComplete); xmlHttp.once(Event.ERROR,this,errorHandler); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); ...

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

69. laya.d3.core.particleShuriKen.ShurikenParticleRender [ 73%]

...c class ShurikenParticleRenderInheritanceShurikenParticleRender BaseRender EventDispatcher Object ShurikenParticleRender 类用于创建3D粒子渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  boundingBox : BoundBox[override] [re...

来源: laya_api 发布时间: 20170929

70. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 73%]

...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我们...

来源: Laya2.0_文档 发布时间: 20210715