大约有 2,539 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0084 秒)
Laya_社区(1916) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
... 、lyjkensou1 给stage添加一个监听事件 给ui命一个名字 监听event.target.name 2018-01-20 2 2 分享 微博 QZONE 微信 suteam 赞同来自: fevilbo 已解决,先监听舞台的MOUSE_DOWN事件,然后对其回调的evt.target进行检测即可知道是UI还是3d模型 2018-01-30 1...
来源: Laya_社区 发布时间: 20180120
...ale(0,0); //将原地图放大3倍 this.tMap.scale = 3; Laya.stage.on(Laya.Event.RESIZE,this,this.resize); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.resize(); } /** * 移动地图视口 */ private mouseMove():void{ var mo...
来源: Laya2.0_文档 发布时间: 20210715
...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我...
来源: Laya2.0_文档 发布时间: 20210714
...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我...
来源: Laya2.0_文档 发布时间: 20210715
...import laya.display.Stage; import laya.ui.Label; import laya.events.Event; import laya.utils.Browser; import laya.utils.Timer; import laya.display.Sprite; import laya.net.Loader; import laya.ui.TextArea; import laya.resource.Texture; imp...
来源: Laya_社区 发布时间: 20170921
...| All Classes | Index | Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox Component Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, Tree, UIGroup, View, ViewStack Box 类是一个控件容器类。 Public P...
来源: laya_api 发布时间: 20170929
...l Classes | Index | Frames No Frames SoundNodeProperties | Methods | Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Numbe...
来源: laya_api 发布时间: 20170422
...ns customRender destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get...
来源: Laya3.0_api 发布时间: 20231102
...连不上, 看代码-> this.hr=new HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send("http://www.baidu.com", null, '...
来源: Laya_社区 发布时间: 20151028
...s or display objects without image resources), specifies whether the mouse events penetrate this object's collision detection. `true` means the object is penetrable, `false` means it is not penetrable. * When penetrable, the engine will no longer detect this object and will recursively check its chi...
来源: Laya_社区 发布时间: 20250825